Class Logger<bool> (2.19.0-rc)

Define the class to capture a log message.

Constructors

Logger(Severity, char const *, char const *, int, LogSink &)

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

Functions

enabled() const

Returns
TypeDescription
bool

LogTo(LogSink &)

Send the log record captured by this object to sink.

Parameter
NameDescription
sink LogSink &
Returns
TypeDescription
void

Stream()

Return the iostream that captures the log message.

Returns
TypeDescription
std::ostream &