Exemple #1
0
 public void Write(string message, LogType level)
 {
     var entry = new LogEntry(message, level);
     this.Write(entry);
 }
Exemple #2
0
 public void Write(LogEntry message)
 {
     _streamWriter.WriteLine(message);
 }
Exemple #3
0
 public void Write(LogEntry message)
 {
     Console.WriteLine(message);
 }
Exemple #4
0
 public void Write(LogEntry message)
 {
     foreach (var p in _logProviders)
     {
         if (MatchesStrategy(p))
         {
             p.Write(message);
         }
     }
 }