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