We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5287ad8 commit a9e5ccbCopy full SHA for a9e5ccb
src/Akka.Hosting/Logging/LoggerFactoryLogger.cs
@@ -91,7 +91,7 @@ protected virtual void Log(LogEvent log, ActorPath path)
91
// Use LogMessage.ToString() which applies the correct formatter (SemanticLogMessageFormatter)
92
// instead of string.Format() which only works with positional {0} placeholders
93
_akkaLogger.Log(logLevel, new EventId(), state, log.Cause,
94
- (s, ex) => log.Message is LogMessage logMsg ? logMsg.ToString() ?? string.Empty : log.Message?.ToString() ?? string.Empty);
+ (s, ex) => log.Message?.ToString() ?? string.Empty);
95
}
96
97
private static LogLevel GetLogLevel(Event.LogLevel level)
0 commit comments