2 writes to FormatterOptions
Microsoft.Extensions.Logging.Console (2)
ConsoleLoggerProvider.cs (1)
180
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
))]
79
string? timestampFormat =
FormatterOptions
.TimestampFormat;
93
bool singleLine =
FormatterOptions
.SingleLine;
162
return
FormatterOptions
.TimestampFormat != null
163
? (
FormatterOptions
.UseUtcTimestamp ? DateTimeOffset.UtcNow : DateTimeOffset.Now)
185
bool disableColors = (
FormatterOptions
.ColorBehavior == LoggerColorBehavior.Disabled) ||
186
(
FormatterOptions
.ColorBehavior == LoggerColorBehavior.Default && (!ConsoleUtils.EmitAnsiColorCodes || IsAndroidOrAppleMobile));
207
if (
FormatterOptions
.IncludeScopes && scopeProvider != null)