InMemoryCommandLogger InMemoryCommandLogger Class

Definition

public class InMemoryCommandLogger : CommandLogger, ILogger
Public Class InMemoryCommandLogger
    Inherits CommandLogger
    Implements ILogger
Inheritance
System.ObjectSystem.Object
InMemoryCommandLoggerInMemoryCommandLogger
Implements
Microsoft.Extensions.Logging.ILoggerMicrosoft.Extensions.Logging.ILogger

Constructors

InMemoryCommandLogger(String, ITestOutputHelper) InMemoryCommandLogger(String, ITestOutputHelper)

public InMemoryCommandLogger(string name, ITestOutputHelper output)
Public Sub New(name As String, output As ITestOutputHelper)
Parameters
name
System.String System.String
output
Xunit.Abstractions.ITestOutputHelper Xunit.Abstractions.ITestOutputHelper

Fields

Messages Messages

public LoggerMessages Messages
Public Messages As LoggerMessages

Methods

BeginScope(Object) BeginScope(Object)

Inherited from CommandLogger

BeginScope(TState) BeginScope(Of TState)(TState)

Inherited from CommandLogger

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

IsEnabled(LogLevel) IsEnabled(LogLevel)

public override bool IsEnabled(LogLevel logLevel)
Public Overrides Function IsEnabled(logLevel As LogLevel) As Boolean
Parameters
logLevel
Microsoft.Extensions.Logging.LogLevel Microsoft.Extensions.Logging.LogLevel
Returns
System.Boolean System.Boolean
Overrides

Log(LogLevel, EventId, TState, Exception, Func) Log(Of TState)(LogLevel, EventId, TState, Exception, Func(Of TState, Exception, String))

Inherited from CommandLogger

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

WriteDebug(String) WriteDebug(String)

protected override void WriteDebug(string message)
Protected Overrides Sub WriteDebug(message As String)
Parameters
message
System.String System.String
Overrides

WriteError(String) WriteError(String)

protected override void WriteError(string message)
Protected Overrides Sub WriteError(message As String)
Parameters
message
System.String System.String
Overrides

WriteInformation(String) WriteInformation(String)

protected override void WriteInformation(string message)
Protected Overrides Sub WriteInformation(message As String)
Parameters
message
System.String System.String
Overrides

WriteTrace(String) WriteTrace(String)

protected override void WriteTrace(string message)
Protected Overrides Sub WriteTrace(message As String)
Parameters
message
System.String System.String
Overrides

WriteWarning(String) WriteWarning(String)

protected override void WriteWarning(string message)
Protected Overrides Sub WriteWarning(message As String)
Parameters
message
System.String System.String
Overrides