IDbContextLogger.Log(EventData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs the given EventData.
public void Log (Microsoft.EntityFrameworkCore.Diagnostics.EventData eventData);
abstract member Log : Microsoft.EntityFrameworkCore.Diagnostics.EventData -> unit
Public Sub Log (eventData As EventData)
Parameters
- eventData
- EventData
The event to log.
Remarks
This method is only called if ShouldLog(EventId, LogLevel) returns true.
The specific subtype of the EventData argument is dependent on the event being logged. See CoreEventId for the type of event data used for each core event.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework