Home -> ILogger -> Trace

Description

The Trace method writes a trace log message. It is a convenience wrapper around Log using Severity::Trace.

Usage

void Trace(const std::string& message) const;
void Trace(const std::wstring& message) const;
template<class... Args>
void Trace(const std::string& formatString, Args&&... args) const;
template<class... Args>
void Trace(const std::wstring& formatString, Args&&... args) const;

Argument list

message [const std::string&]
The UTF-8 message string describing the fine-grained diagnostic event.
message [const std::wstring&]
The native wide string message to convert to UTF-8 and log.
formatString [const std::string&]
The UTF-8 format string containing positional placeholders such as {0}.
formatString [const std::wstring&]
The native wide string format string to convert to UTF-8 before resolving placeholders.
args [Args&&...]
The values used to replace positional placeholders in the format string.

See also