don't pre-string-format so messages don't get broken up
parent
8033b69111
commit
ee6c2b496a
|
@ -206,7 +206,7 @@ class OtelListener : EventListener
|
|||
{
|
||||
if (_loggerMap[eventData.EventSource.Name] is { } logger)
|
||||
{
|
||||
logger.Log(LogLevel.Information, string.Format(eventData.Message, (eventData.Payload?.ToArray() ?? Array.Empty<object>())));
|
||||
logger.Log(LogLevel.Information, eventData.Message, (eventData.Payload?.ToArray() ?? Array.Empty<object>()));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue