1 write to Exception
Microsoft.Extensions.Logging.Abstractions (1)
LogEntry.cs (1)
28
Exception
= exception;
13 references to Exception
Microsoft.Arcade.Common (4)
CompactConsoleLoggerFormatter.cs (4)
57
var message = logEntry.Formatter(logEntry.State, logEntry.
Exception
);
58
if (logEntry.
Exception
== null && message == null)
82
if (logEntry.
Exception
!= null)
85
WriteMessage(textWriter, logEntry.
Exception
.ToString());
Microsoft.Extensions.Logging.Console (9)
JsonConsoleFormatter.cs (3)
39
string message = logEntry.Formatter(logEntry.State, logEntry.
Exception
);
40
if (logEntry.
Exception
== null && message == null)
51
WriteInternal(scopeProvider, textWriter, message, logEntry.LogLevel, logEntry.Category, logEntry.EventId.Id, logEntry.
Exception
?.ToString(),
SimpleConsoleFormatter.cs (3)
56
string message = logEntry.Formatter(logEntry.State, logEntry.
Exception
);
57
if (logEntry.
Exception
== null && message == null)
64
WriteInternal(scopeProvider, textWriter, message, logEntry.LogLevel, logEntry.EventId.Id, logEntry.
Exception
?.ToString(), logEntry.Category, GetCurrentDateTime());
SystemdConsoleFormatter.cs (3)
46
string message = logEntry.Formatter(logEntry.State, logEntry.
Exception
);
47
if (logEntry.
Exception
== null && message == null)
54
WriteInternal(scopeProvider, textWriter, message, logEntry.LogLevel, logEntry.Category, logEntry.EventId.Id, logEntry.
Exception
?.ToString(), GetCurrentDateTime());