Class Logger<bool> (2.28.0)

Define the class to capture a log message.

Constructors

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

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

Functions

enabled() const

Returns
Type Description
bool

LogTo(LogSink &)

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 &