Google Cloud C++ Client  1.32.1
C++ Client Library for Google Cloud Platform
Public Member Functions | List of all members
google::cloud::v1::Logger< false > Class Reference

Define the logger for a disabled log level. More...

#include <google/cloud/log.h>

Public Member Functions

 Logger (Severity severity, char const *, char const *, int, LogSink &)
 
 ~Logger ()
 

Provide trivial implementations that meet the generic <tt>Logger\<bool\></tt>

interface.

bool enabled () const
 
void LogTo (LogSink &)
 
NullStream Stream ()
 

Detailed Description

Define the logger for a disabled log level.

Definition at line 437 of file log.h.

Constructor & Destructor Documentation

◆ Logger()

google::cloud::v1::Logger< false >::Logger ( Severity  severity,
char const *  ,
char const *  ,
int  ,
LogSink  
)
inline

Definition at line 430 of file log.h.

◆ ~Logger()

google::cloud::v1::Logger< false >::~Logger ( )
inline

Definition at line 442 of file log.h.

Member Function Documentation

◆ enabled()

bool google::cloud::v1::Logger< false >::enabled ( ) const
inline

Definition at line 452 of file log.h.

◆ LogTo()

void google::cloud::v1::Logger< false >::LogTo ( LogSink )
inline

Definition at line 453 of file log.h.

◆ Stream()

NullStream google::cloud::v1::Logger< false >::Stream ( )
inline

Definition at line 455 of file log.h.