EventDefinition<TParam1, TParam2>
EventDefinition(EventId, LogLevel, Action<ILogger, TParam1, TParam2, Exception>)
EventDefinition(EventId, LogLevel, String, Action<ILogger, TParam1, TParam2, Exception>)
EventDefinition(ILoggingOptions, EventId, LogLevel, String, Func<LogLevel, Action<ILogger, TParam1, TParam2, Exception>>)
GenerateMessage(TParam1, TParam2)
GenerateMessage(TParam1, TParam2, Exception)
Log<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory>, TParam1, TParam2)
Log<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory>, TParam1, TParam2, Exception)
Log<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory>, WarningBehavior, TParam1, TParam2, Exception)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
public class EventDefinition<TParam1, TParam2> : EventDefinitionBase
{
public virtual void Log<TLoggerCategory>(IDiagnosticsLogger<TLoggerCategory> logger, WarningBehavior warningBehavior, TParam1 arg1, TParam2 arg2, Exception exception = null)
where TLoggerCategory, new(), LoggerCategory<TLoggerCategory>;
}
}
.NET Core | 2.12.2 |
---|---|
Information specific to netcoreapp2.2 | |
Assembly | Microsoft.EntityFrameworkCore , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API