Exemplo n.º 1
0
 public void Message(string message)
 {
     foreach (var line in _TextLogFormatter.Format(LogEntryType.Message, message))
     {
         System.Console.Out.WriteLine(line);
     }
 }
Exemplo n.º 2
0
 private void Output(LogEntryType type, [NotNull] string message)
 {
     foreach (var line in _TextLogFormatter.Format(type, message))
     {
         System.Diagnostics.Debug.WriteLine(line);
     }
 }
 private void OutputToLog(LogLevel level, [NotNull] string message)
 {
     lock (Lock)
         OutputLinesToLog(level, _TextLogFormatter.Format(level, message));
 }