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