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