示例#1
0
 public ConsoleLogger(string name, Func<string, LogLevel, bool> filter)
 {
     _name = name;
     _filter = filter ?? ((category, logLevel) => true);
     Console = new LogConsole();
 }
示例#2
0
 public ConsoleLogger(string name, Func <string, LogLevel, bool> filter)
 {
     _name   = name;
     _filter = filter ?? ((category, logLevel) => true);
     Console = new LogConsole();
 }