RelationalLoggerExtensions RelationalLoggerExtensions 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 static class RelationalLoggerExtensions
Public Module RelationalLoggerExtensions
Inheritance
System.ObjectSystem.Object
RelationalLoggerExtensionsRelationalLoggerExtensions

Methods

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

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
command
System.Data.Common.DbCommand System.Data.Common.DbCommand
startTimestamp
System.Int64 System.Int64
currentTimestamp
System.Int64 System.Int64

LogDebug(ILogger, RelationalEventId, Func) 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
logger
ILogger ILogger
formatter
System.Func<System.String> System.Func(Of System.String)

LogDebug(ILogger, RelationalEventId, TState, Func) 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))
Type Parameters
TState
Parameters
logger
ILogger ILogger
state
TState TState
formatter
System.Func<TState, System.String> System.Func(Of TState, System.String)

LogInformation(ILogger, RelationalEventId, Func) 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
logger
ILogger ILogger
formatter
System.Func<System.String> System.Func(Of System.String)

LogWarning(ILogger, RelationalEventId, Func) 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
logger
ILogger ILogger
formatter
System.Func<System.String> System.Func(Of System.String)

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object