Class google::cloud::Logger (2.10.1)

Define the class to capture a log message.

Constructors

Logger

Parameters
Name Description
severity Severity
function char const *
filename char const *
lineno int
sink LogSink &

~Logger

Functions

enabled

Returns
Type Description
bool

LogTo

Send the log record captured by this object to sink.

Parameter
Name Description
sink LogSink &
Returns
Type Description
void

Stream

Return the iostream that captures the log message.

Returns
Type Description
std::ostream &