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