2 writes to FormatterOptions
Microsoft.Extensions.Logging.Console (2)
ConsoleLoggerProvider.cs (1)
182
defaultFormatter.
FormatterOptions
= new SimpleConsoleFormatterOptions()
SimpleConsoleFormatter.cs (1)
37
FormatterOptions
= options;
7 references to FormatterOptions
Microsoft.Extensions.Logging.Console (7)
SimpleConsoleFormatter.cs (7)
34
[MemberNotNull(nameof(
FormatterOptions
))]
67
string? timestampFormat =
FormatterOptions
.TimestampFormat;
82
bool singleLine =
FormatterOptions
.SingleLine;
151
return
FormatterOptions
.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now;
172
bool disableColors = (
FormatterOptions
.ColorBehavior == LoggerColorBehavior.Disabled) ||
173
(
FormatterOptions
.ColorBehavior == LoggerColorBehavior.Default && (!ConsoleUtils.EmitAnsiColorCodes || IsAndroidOrAppleMobile));
194
if (
FormatterOptions
.IncludeScopes && scopeProvider != null)