Warn(Logger, LogEventId, Object?, String) Method

Definition

Assembly XenoAtom.Logging.dll

Logs a message with Warn level.

public static void Warn(this Logger logger, LogEventId eventId, object? attachment, string 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
String

The log message.