/// <summary> /// Logs block of text with specified level /// </summary> public void LogText(string title, string description, LogLevel logLevel) { try { sink.Emit( entryFormatter.FormatEntryText(title, description, logLevel, DataType.Text, DateTime.Now), logLevel ); } catch (Exception ex) { InternalLog(ex); } }
public void Emit(string logEntry, LogLevel level) { if (level >= minimumLevel && level <= maximumLevel) { innerSink.Emit(logEntry, level); } }