RelationalLoggerExtensions RelationalLoggerExtensions 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 static class RelationalLoggerExtensionsPublic Module RelationalLoggerExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalLoggerExtensions
    RelationalLoggerExtensions

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()

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.

Methods

  • LogCommandExecuted(ISensitiveDataLogger, DbCommand, Int64, Int64)
    LogCommandExecuted(ISensitiveDataLogger, DbCommand, Int64, Int64)

    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 static void LogCommandExecuted(this ISensitiveDataLogger logger, DbCommand command, long startTimestamp, long currentTimestamp)<ExtensionAttribute>
    Public Shared Sub LogCommandExecuted(logger As ISensitiveDataLogger, command As DbCommand, startTimestamp As Long, currentTimestamp As Long)

    Parameters

    • logger
    • command
      System.Data.Common.DbCommand
      System.Data.Common.DbCommand
    • startTimestamp
      System.Int64
      System.Int64
    • currentTimestamp
      System.Int64
      System.Int64
  • LogDebug(ILogger, RelationalEventId, Func<String>)
    LogDebug(ILogger, RelationalEventId, Func(Of 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 static void LogDebug(this ILogger logger, RelationalEventId eventId, Func<string> formatter)<ExtensionAttribute>
    Public Shared Sub LogDebug(logger As ILogger, eventId As RelationalEventId, formatter As Func(Of String))

    Parameters

  • LogDebug<TState>(ILogger, RelationalEventId, TState, Func<TState, String>)
    LogDebug(Of TState)(ILogger, RelationalEventId, TState, Func(Of TState, 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 static void LogDebug<TState>(this ILogger logger, RelationalEventId eventId, TState state, Func<TState, string> formatter)<ExtensionAttribute>
    Public Shared Sub LogDebug(Of TState)(logger As ILogger, eventId As RelationalEventId, state As TState, formatter As Func(Of TState, String))

    Parameters

    • logger
      ILogger
      ILogger
    • eventId
    • state
      TState
      TState
    • formatter
      System.Func<T, TResult><TState, System.String>
      System.Func<T, TResult>(Of TState, System.String)
  • LogInformation(ILogger, RelationalEventId, Func<String>)
    LogInformation(ILogger, RelationalEventId, Func(Of 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 static void LogInformation(this ILogger logger, RelationalEventId eventId, Func<string> formatter)<ExtensionAttribute>
    Public Shared Sub LogInformation(logger As ILogger, eventId As RelationalEventId, formatter As Func(Of String))

    Parameters

  • LogWarning(ILogger, RelationalEventId, Func<String>)
    LogWarning(ILogger, RelationalEventId, Func(Of 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 static void LogWarning(this ILogger logger, RelationalEventId eventId, Func<string> formatter)<ExtensionAttribute>
    Public Shared Sub LogWarning(logger As ILogger, eventId As RelationalEventId, formatter As Func(Of String))

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll