Home -> LogTargetStandardOut -> Create

Description

The Create method creates a standard output target and returns it wrapped in a smart pointer compatible with LogManager.AddLogTarget.

Usage

static std::unique_ptr<LogTargetStandardOut, ILogTarget::Deleter> Create(bool flushAfterOutput);

Argument list

flushAfterOutput [bool]
If true, the target flushes std::cout after every message.

Return value

[LogTargetStandardOut]
A newly constructed LogTargetStandardOut object wrapped in a smart pointer that uses ILogTarget::Deleter.

See also