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