Debug(Logger, LogEventId, Object?, ref Logger.DebugInterpolatedLogMessage) Method

Definition

Assembly XenoAtom.Logging.dll

Logs a message with Debug level.

public static void Debug(this Logger logger, LogEventId eventId, object? attachment, [InterpolatedStringHandlerArgument(new string[] { "eventId", "attachment", "logger" })] ref Logger.DebugInterpolatedLogMessage msg)

Parameters

logger
Logger

The logger instance.

eventId
LogEventId

The event identifier associated with the message.

attachment
Object

An optional attachment associated with the message.

msg
Logger.DebugInterpolatedLogMessage

The interpolated log message handler.