Class TextLogger
- Namespace
- BenchmarkDotNet.Loggers
- Assembly
- BenchmarkDotNet.dll
public class TextLogger : ILogger, IDisposable
- Inheritance
-
TextLogger
- Implements
- Derived
- Extension Methods
Constructors
TextLogger(TextWriter)
public TextLogger(TextWriter writer)
Parameters
writer
TextWriter
Properties
Id
public virtual string Id { get; }
Property Value
Priority
If there are several loggers with the same Id, only logger with the highest priority will be used.
public int Priority { get; }
Property Value
Methods
Dispose()
public void Dispose()
Flush()
public void Flush()
Write(LogKind, string)
public void Write(LogKind logKind, string text)
Parameters
WriteLine()
public void WriteLine()
WriteLine(LogKind, string)
public void WriteLine(LogKind logKind, string text)