public bool ShouldLog(LogChatterLevels checkWith) { int current = (int)LogChatterLevel; int test = (int)(LogChatterLevel | checkWith); return test == current; }
public bool ShouldLog(LogChatterLevels checkWith) { int current = (int)LogChatterLevel; int test = (int)(LogChatterLevel | checkWith); return(test == current); }
public ConsoleLogger(LogChatterLevels logChatterLevel, Settings settings) : base(logChatterLevel) { _settings = settings; }
public ConsoleLogger(LogChatterLevels logChatterLevel) : this(logChatterLevel, Settings.Default) { }
protected LoggerBase(LogChatterLevels logChatterLevel) { this.LogChatterLevel = logChatterLevel; }
public DebugLogger(LogChatterLevels logChatterLevel, Settings settings) : base(logChatterLevel) { this.settings = settings; }
public DebugLogger(LogChatterLevels logChatterLevel) : this(logChatterLevel, Settings.Default) { }
/// <summary> /// Initializes a new instance of the <see cref="ConsoleLogger" /> class. /// </summary> /// <param name="logChatterLevel">The log chatter level.</param> public ConsoleLogger(LogChatterLevels logChatterLevel) : base(logChatterLevel) { }
public TraceLogger(LogChatterLevels logChatterLevel) : base(logChatterLevel) { }