Table of Contents

Class NullLogger

Namespace
BenchmarkDotNet.Loggers
Assembly
BenchmarkDotNet.dll
public class NullLogger : ILogger
Inheritance
NullLogger
Implements
Extension Methods

Fields

Instance

public static readonly ILogger Instance

Field Value

ILogger

Properties

Id

public 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.

public int Priority { get; }

Property Value

int

Methods

Flush()

public void Flush()

Write(LogKind, string)

public void Write(LogKind logKind, string text)

Parameters

logKind LogKind
text string

WriteLine()

public void WriteLine()

WriteLine(LogKind, string)

public void WriteLine(LogKind logKind, string text)

Parameters

logKind LogKind
text string