Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
|
Define the class to capture a log message. More...
#include <google/cloud/log.h>
Public Member Functions | |
Logger (Severity severity, char const *function, char const *filename, int lineno, LogSink &sink) | |
~Logger () | |
bool | enabled () const |
void | LogTo (LogSink &sink) |
Send the log record captured by this object to sink . More... | |
std::ostream & | Stream () |
Return the iostream that captures the log message. More... | |
Define the class to capture a log message.
CompileTimeEnabled | this represents whether the severity has been disabled at compile-time. The class is specialized for false to minimize the run-time impact of (and, in practice, completely elide) disabled logs. |
|
inline |
|
inline |
|
inline |
|
inline |
Send the log record captured by this object to sink
.
|
inline |
Return the iostream that captures the log message.