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

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

#include <google/cloud/log.h>

Public Member Functions

 Logger ()=default
 
 Logger (Severity, char const *, char const *, int, LogSink &)
 
Provide trivial implementations that meet the generic `Logger<bool>`

interface.

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

Detailed Description

template<>
class google::cloud::v0::Logger< false >

Define the logger for a disabled log level.

Definition at line 394 of file log.h.

Constructor & Destructor Documentation

◆ Logger() [1/2]

google::cloud::v0::Logger< false >::Logger ( )
default

◆ Logger() [2/2]

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

Definition at line 397 of file log.h.

Member Function Documentation

◆ enabled()

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

Definition at line 404 of file log.h.

◆ LogTo()

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

Definition at line 405 of file log.h.

◆ Stream()

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

Definition at line 406 of file log.h.