Logs a message with Trace level.
public static void Trace(this Logger logger, LogEventId eventId, object? attachment, string msg, LogProperties properties)
The logger instance.
The event identifier associated with the message.
An optional attachment associated with the message.
The log message.
Structured properties associated with the message.