Esempio n. 1
0
        public bool ShouldLog(LogChatterLevels checkWith)
        {
            int current = (int)LogChatterLevel;
            int test = (int)(LogChatterLevel | checkWith);

            return test == current;
        }
Esempio n. 2
0
        public bool ShouldLog(LogChatterLevels checkWith)
        {
            int current = (int)LogChatterLevel;
            int test    = (int)(LogChatterLevel | checkWith);

            return(test == current);
        }
Esempio n. 3
0
 public ConsoleLogger(LogChatterLevels logChatterLevel, Settings settings)
     : base(logChatterLevel)
 {
     _settings = settings;
 }
Esempio n. 4
0
 public ConsoleLogger(LogChatterLevels logChatterLevel)
     : this(logChatterLevel, Settings.Default)
 {
 }
Esempio n. 5
0
 protected LoggerBase(LogChatterLevels logChatterLevel)
 {
     this.LogChatterLevel = logChatterLevel;
 }
Esempio n. 6
0
 public ConsoleLogger(LogChatterLevels logChatterLevel, Settings settings)
     : base(logChatterLevel)
 {
     _settings = settings;
 }
Esempio n. 7
0
 public ConsoleLogger(LogChatterLevels logChatterLevel)
     : this(logChatterLevel, Settings.Default)
 {
 }
Esempio n. 8
0
 public DebugLogger(LogChatterLevels logChatterLevel, Settings settings)
     : base(logChatterLevel)
 {
     this.settings = settings;
 }
Esempio n. 9
0
 public DebugLogger(LogChatterLevels logChatterLevel)
     : this(logChatterLevel, Settings.Default)
 {
 }
Esempio n. 10
0
 protected LoggerBase(LogChatterLevels logChatterLevel)
 {
     this.LogChatterLevel = logChatterLevel;
 }
 /// <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)
 {
 }
Esempio n. 12
0
 public DebugLogger(LogChatterLevels logChatterLevel, Settings settings)
     : base(logChatterLevel)
 {
     this.settings = settings;
 }
Esempio n. 13
0
 public DebugLogger(LogChatterLevels logChatterLevel)
     : this(logChatterLevel, Settings.Default)
 {
 }
Esempio n. 14
0
 public TraceLogger(LogChatterLevels logChatterLevel)
     : base(logChatterLevel)
 {
 }
Esempio n. 15
0
 public TraceLogger(LogChatterLevels logChatterLevel)
     : base(logChatterLevel)
 {
 }