don't pre-string-format so messages don't get broken up

pull/178/head
Chet Husk 2022-11-04 20:08:34 -05:00
parent 8033b69111
commit ee6c2b496a
1 changed files with 1 additions and 1 deletions

View File

@ -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>()));
}
}
}