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