Logs a message with Warn level.
public static void Warn(this Logger logger, object? attachment, LogProperties properties, [InterpolatedStringHandlerArgument(new string[] { "attachment", "logger", "properties" })] ref Logger.WarnInterpolatedLogMessage msg)
The logger instance.
An optional attachment associated with the message.
Structured properties associated with the message.
The interpolated log message handler.