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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework