Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 1.14 KB

Atc.XUnit.Logging.md

File metadata and controls

68 lines (51 loc) · 1.14 KB

Atc.XUnit.Logging


XUnitLogger

public class XUnitLogger : ILogger

Static Methods

Create

ILogger Create(ITestOutputHelper testOutputHelper)

Create

ILogger<T> Create(ITestOutputHelper testOutputHelper)

Methods

BeginScope

IDisposable BeginScope(TState state)

IsEnabled

bool IsEnabled(LogLevel logLevel)

Log

void Log(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)

XUnitLoggerProvider

public class XUnitLoggerProvider : ILoggerProvider, IDisposable

Methods

CreateLogger

ILogger CreateLogger(string categoryName)

Dispose

void Dispose()

XUnitLogger<T>

public class XUnitLogger&lt;T&gt; : XUnitLogger, ILogger, ILogger<T>

Generated by MarkdownCodeDoc version 1.2