static LoggingClass() { CirqusLoggerFactory.Changed += f => _logger = f.GetCurrentClassLogger(); }
static TestCirqusLoggerFactory() { CirqusLoggerFactory.Changed += f => _logger = f.GetCurrentClassLogger(); }
/// <summary> /// Configures Cirqus to log using the console. /// </summary> public void UseConsole(Logger.Level minLevel = Logger.Level.Info) { Use(new ConsoleLoggerFactory(minLevel: minLevel)); }
/// <summary> /// Configures Cirqus to log using <see cref="Debug.WriteLine(string)"/>. /// </summary> public void UseDebug(Logger.Level minLevel = Logger.Level.Info) { Use(new DebugLoggerFactory(minLevel: minLevel)); }