Interface ILogger
Namespace: BenchmarkDotNet.Loggers
Assembly: BenchmarkDotNet.dll
Syntax
public interface ILogger
Properties
Id
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
String |
Priority
If there are several loggers with the same Id, only logger with the highest priority will be used.
Declaration
int Priority { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Flush()
Declaration
void Flush()
Write(LogKind, String)
Declaration
void Write(LogKind logKind, string text)
Parameters
Type | Name | Description |
---|---|---|
LogKind | logKind | |
String | text |
WriteLine()
Declaration
void WriteLine()
WriteLine(LogKind, String)
Declaration
void WriteLine(LogKind logKind, string text)
Parameters
Type | Name | Description |
---|---|---|
LogKind | logKind | |
String | text |