Logs a message with Error level.
public static void Error(this Logger logger, LogEventId eventId, LogProperties properties, [InterpolatedStringHandlerArgument(new string[] { "eventId", "logger", "properties" })] ref Logger.ErrorInterpolatedLogMessage msg)
The logger instance.
The event identifier associated with the message.
Structured properties associated with the message.
The interpolated log message handler.