Table of Contents

Interface ILogger

Namespace
BenchmarkDotNet.Loggers
Assembly
BenchmarkDotNet.dll
public interface ILogger
Extension Methods

Properties

Id

string Id { get; }

Property Value

string

Priority

If there are several loggers with the same Id, only logger with the highest priority will be used.

int Priority { get; }

Property Value

int

Methods

Flush()

void Flush()

Write(LogKind, string)

void Write(LogKind logKind, string text)

Parameters

logKind LogKind
text string

WriteLine()

void WriteLine()

WriteLine(LogKind, string)

void WriteLine(LogKind logKind, string text)

Parameters

logKind LogKind
text string