Info(Logger, LogEventId, Object?, ref Logger.InfoInterpolatedLogMessage) Method

Definition

Assembly XenoAtom.Logging.dll

Logs a message with Info level.

public static void Info(this Logger logger, LogEventId eventId, object? attachment, [InterpolatedStringHandlerArgument(new string[] { "eventId", "attachment", "logger" })] ref Logger.InfoInterpolatedLogMessage 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.InfoInterpolatedLogMessage

The interpolated log message handler.