Table of Contents

Class AccumulationLogger

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

Constructors

AccumulationLogger()

public AccumulationLogger()

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

ClearLog()

public void ClearLog()

Flush()

public void Flush()

GetLog()

public string GetLog()

Returns

string

Write(LogKind, string)

public virtual void Write(LogKind logKind, string text)

Parameters

logKind LogKind
text string

WriteLine()

public virtual void WriteLine()

WriteLine(LogKind, string)

public virtual void WriteLine(LogKind logKind, string text)

Parameters

logKind LogKind
text string