Home -> LogTargetStandardOut

Declaration

class LogTargetStandardOut : public ILogTarget;

Description

The LogTargetStandardOut class is an ILogTarget implementation that writes messages to std::cout.

Each line begins with a compact severity prefix, optionally followed by the scope and message text. The target can be configured to flush std::cout after every message.

Members

Constructors

Name Description
Public member Constructor
Creates a standard output target.
Public member Create
Creates a standard output target wrapped in a smart pointer.

Lifetime methods

Name Description
Public member Delete
Deletes the standard output target.

Logging methods

Name Description
Public member LogMessage
Writes a message to standard output.

See also