Пример #1
0
 public override void Log(LogLevel logLevel, LoggerBase.StringReturner stringReturner, int msgCode = 0)
 {
     if (LogLevel >= logLevel)
     {
         this.OnWriteToLog(logLevel, stringReturner(), msgCode);
     }
 }
Пример #2
0
 public override void Log(LogLevel logLevel, LoggerBase.StringReturner stringReturner, int msgCode = 0)
 {
     foreach (LoggerBaseImplementation logger in InnerLoggers)
     {
         logger.Log(logLevel, stringReturner, msgCode);
     }
 }