Table of Contents

Class LinqPadLogger

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

Fields

lazyInstance

public static readonly Lazy<LinqPadLogger> lazyInstance

Field Value

Lazy<LinqPadLogger>

Properties

Id

public string Id { get; }

Property Value

string

Instance

public static ILogger Instance { get; }

Property Value

ILogger

IsAvailable

public static bool IsAvailable { get; }

Property Value

bool

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