public static void Reconfigure(ConsoleLoggerConfiguration config) { lock (console_lock) { replacement_static_config = config; } }
public ConsoleLogger(string name, ConsoleLoggerConfiguration config) { _name = name; _config = config; static_config ??= config; Id = new EventId(_config.EventId, _name); }
public ConsoleLoggerConfiguration(ConsoleLoggerConfiguration other) { LogLevel = other.LogLevel; EventId = other.EventId; TimeStampFormat = other.TimeStampFormat; TrimNames = new List <string>(other.TrimNames); ReplaceNames = new Dictionary <string, string>(other.ReplaceNames); FormatterFactory = other.FormatterFactory; Token = other.Token; Theme = other.Theme; InternalLoggerQueueOverloadThreshold = other.InternalLoggerQueueOverloadThreshold; StringifyOption = other.StringifyOption; }
public ConsoleLoggerProvider(ConsoleLoggerConfiguration config) { _config = config; }