Exemplo n.º 1
0
 static LevelConsoleColors()
 {
     Default = new LevelConsoleColors
     {
         Error   = new BgAndForeColor(ConsoleColor.Black, ConsoleColor.Red),
         Warning = new BgAndForeColor(ConsoleColor.Black, ConsoleColor.Yellow),
         Info    = new BgAndForeColor(ConsoleColor.Black, ConsoleColor.Cyan),
         Debug   = new BgAndForeColor(ConsoleColor.Black, ConsoleColor.Gray),
         None    = new BgAndForeColor(ConsoleColor.Black, ConsoleColor.Magenta)
     };
 }
Exemplo n.º 2
0
 public ConsoleLogger(LogLevel logLevel, LevelConsoleColors consoleLevelColors)
 {
     this.LogLevel      = logLevel;
     ConsoleLevelColors = consoleLevelColors;
 }