Google Cloud C++ Client  1.42.0
C++ Client Library for Google Cloud Platform
Public Member Functions | List of all members
google::cloud::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::Logger< false >::Logger ( Severity  severity,
char const *  ,
char const *  ,
int  ,
LogSink  
)
inline

Definition at line 439 of file log.h.

◆ ~Logger()

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

Definition at line 442 of file log.h.

Member Function Documentation

◆ enabled()

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

Definition at line 452 of file log.h.

◆ LogTo()

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

Definition at line 453 of file log.h.

◆ Stream()

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

Definition at line 455 of file log.h.