/// <summary>Write empty line.</summary> public virtual void WriteLine() { if (ShouldWrite(LogKind.Default)) { WrappedLogger.WriteLine(); } }
/// <summary>Write the line.</summary> /// <param name="logKind">Kind of text.</param> /// <param name="text">The text to write.</param> public virtual void WriteLine(LogKind logKind, string text) { // DONTTOUCH: the order of calls in condition is important. if (PreprocessLine(text) || ShouldWrite(logKind)) { WrappedLogger.WriteLine(logKind, text); } }
/// <summary>Writes line.</summary> /// <param name="logKind">Kind of text.</param> /// <param name="text">The text to write.</param> public virtual void WriteLine(LogKind logKind, string text) { // DONTTOUCH: the order of calls in condition is important. // Preprocess call can change the _importantScopeCount value. if (PreprocessLine(text) || ShouldWrite(logKind)) { WrappedLogger.WriteLine(logKind, text); } }