CommandLogger CommandLogger Class

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.

Syntax

Declaration

public abstract class CommandLogger : ILoggerPublic MustInherit Class CommandLogger
    Implements ILogger

Inheritance Hierarchy

  • System.Object
    System.Object
  • CommandLogger
    CommandLogger

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

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.

Methods summary

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.
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.
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.
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.
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.
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.
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.
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.
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.

Constructors

  • CommandLogger(String)
    CommandLogger(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 CommandLogger(string name)Protected Sub New(name As String)

    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.
    
    public virtual IDisposable BeginScope(object state)Public Overridable Function BeginScope(state As Object) As IDisposable

    Parameters

    • state
      System.Object
      System.Object

    Returns

    • System.IDisposable
      System.IDisposable
  • BeginScope<TState>(TState)
    BeginScope(Of TState)(TState)
    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 virtual IDisposable BeginScope<TState>(TState state)Public Overridable Function BeginScope(Of TState)(state As TState) As IDisposable

    Parameters

    • state
      TState
      TState

    Returns

    • System.IDisposable
      System.IDisposable
  • 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.
    
    public virtual bool IsEnabled(LogLevel logLevel)Public Overridable Function IsEnabled(logLevel As LogLevel) As Boolean

    Parameters

    • logLevel
      Microsoft.Extensions.Logging.LogLevel
      Microsoft.Extensions.Logging.LogLevel

    Returns

    • System.Boolean
      System.Boolean
  • Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, String>)
    Log(Of TState)(LogLevel, EventId, TState, Exception, Func(Of TState, Exception, 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.
    
    public virtual void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)Public Overridable Sub Log(Of TState)(logLevel As LogLevel, eventId As EventId, state As TState, exception As Exception, formatter As Func(Of TState, Exception, String))

    Parameters

    • logLevel
      Microsoft.Extensions.Logging.LogLevel
      Microsoft.Extensions.Logging.LogLevel
    • eventId
      Microsoft.Extensions.Logging.EventId
      Microsoft.Extensions.Logging.EventId
    • state
      TState
      TState
    • exception
      System.Exception
      System.Exception
    • formatter
      System.Func<T1, T2, TResult><TState, System.Exception, System.String>
      System.Func<T1, T2, TResult>(Of TState, System.Exception, System.String)
  • 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 abstract void WriteDebug(string message)Protected MustOverride Sub WriteDebug(message As String)

    Parameters

    • message
      System.String
      System.String
  • 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 abstract void WriteError(string message)Protected MustOverride Sub WriteError(message As String)

    Parameters

    • message
      System.String
      System.String
  • 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 abstract void WriteInformation(string message)Protected MustOverride Sub WriteInformation(message As String)

    Parameters

    • message
      System.String
      System.String
  • 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 abstract void WriteTrace(string message)Protected MustOverride Sub WriteTrace(message As String)

    Parameters

    • message
      System.String
      System.String
  • 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 abstract void WriteWarning(string message)Protected MustOverride Sub WriteWarning(message As String)

    Parameters

    • message
      System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll