Trace(Logger, Object?, ref Logger.TraceInterpolatedLogMessage) Method

Definition

Assembly XenoAtom.Logging.dll

Logs a message with Trace level.

public static void Trace(this Logger logger, object? attachment, [InterpolatedStringHandlerArgument(new string[] { "attachment", "logger" })] ref Logger.TraceInterpolatedLogMessage msg)

Parameters

logger
Logger

The logger instance.

attachment
Object

An optional attachment associated with the message.

msg
Logger.TraceInterpolatedLogMessage

The interpolated log message handler.