Ejemplo n.º 1
0
 private void log(string message, Level currentLevel)
 {
     if (LevelComparator.pass(currentLevel, logLevel))
     {
         parentNode.forward(_name, currentLevel, message);
     }
 }
Ejemplo n.º 2
0
 public void forward(string caller, Level level, string message)
 {
     if (LevelComparator.pass(level, logLevel))
     {
         _action.proceed(caller, level, message);
     }
 }
Ejemplo n.º 3
0
 /**
  * It the local is permissive enougth we forward the message to the master.
  */
 public void forward(string caller, Level level, string message)
 {
     if (LevelComparator.pass(level, logLevel))
     {
         parentNode.forward(caller, level, message);
     }
 }