CommandLoggerAdapter CommandLoggerAdapter Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
public class CommandLoggerAdapter : CommandLogger, ILogger
Public Class CommandLoggerAdapter
    Inherits CommandLogger
    Implements ILogger
Inheritance
System.ObjectSystem.Object
CommandLoggerAdapterCommandLoggerAdapter
Implements
Microsoft.Extensions.Logging.ILoggerMicrosoft.Extensions.Logging.ILogger

Constructors

CommandLoggerAdapter(String, IOperationLogHandler) CommandLoggerAdapter(String, IOperationLogHandler)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
public CommandLoggerAdapter(string name, IOperationLogHandler logHandler)
Public Sub New(name As String, logHandler As IOperationLogHandler)
Parameters
name
System.String System.String

Methods

BeginScope(Object) BeginScope(Object)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
(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)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
(Inherited from CommandLogger)

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)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
protected override void WriteDebug(string message)
Protected Overrides Sub WriteDebug(message As String)
Parameters
message
System.String System.String
Overrides

WriteError(String) WriteError(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
protected override void WriteError(string message)
Protected Overrides Sub WriteError(message As String)
Parameters
message
System.String System.String
Overrides

WriteInformation(String) WriteInformation(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
protected override void WriteInformation(string message)
Protected Overrides Sub WriteInformation(message As String)
Parameters
message
System.String System.String
Overrides

WriteTrace(String) WriteTrace(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
protected override void WriteTrace(string message)
Protected Overrides Sub WriteTrace(message As String)
Parameters
message
System.String System.String
Overrides

WriteWarning(String) WriteWarning(String)

This API supports the Entity Framework Core infrastructure and is not intended to be used
directly from your code. This API may change or be removed in future releases.
protected override void WriteWarning(string message)
Protected Overrides Sub WriteWarning(message As String)
Parameters
message
System.String System.String
Overrides