Home -> LogTargetStandardOut -> LogMessage

Description

The LogMessage method writes a message line to std::cout.

ImportantImportant

Messages are written with the compact prefixes C!, E:, W:, i:, d:, or t: depending on severity.

Usage

void LogMessage(const char* scope, size_t scopeLength, ILogger::Severity severity, const char* message, size_t messageLength) override;

Argument list

scope [const char*]
A pointer to the UTF-8 scope string.
scopeLength [size_t]
The number of bytes in the scope string.
severity [Severity]
The severity assigned to the message.
message [const char*]
A pointer to the UTF-8 message string.
messageLength [size_t]
The number of bytes in the message string.

See also