Google Cloud C++ Client
0.4.0
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) | |
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.
compile_time_enabled | 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 |