src/Shared/EntityFramework/Infrastructure/Interception/DatabaseLogger.cs
/// <summary>
/// Called to start logging during Entity Framework initialization when this logger is registered.
/// as an <see cref="IDbInterceptor"/>. 
/// </summary>
/// <param name="loadedEventArgs">Arguments to the event that this interceptor mirrors.</param>
/// <param name="interceptionContext">Contextual information about the event.</param>
Called to start logging during Entity Framework initialization when this logger is registered.
as an .
Called to start logging during Entity Framework initialization when this logger is registered . as an .
[SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
        void IDbConfigurationInterceptor.Loaded(
            DbConfigurationLoadedEventArgs loadedEventArgs,
            DbConfigurationInterceptionContext interceptionContext)
        {
            Check.NotNull(loadedEventArgs, "loadedEventArgs");
            Check.NotNull(interceptionContext, "interceptionContext");
            StartLogging(loadedEventArgs.DependencyResolver);
        }
[ SuppressMessage ( " " , " " ) ] void IDbConfigurationInterceptor . Loaded ( DbConfigurationLoadedEventArgs loadedEventArgs , DbConfigurationInterceptionContext interceptionContext ) { Check . NotNull ( loadedEventArgs , " " ) ; Check . NotNull ( interceptionContext , " " ) ; StartLogging ( loadedEventArgs . DependencyResolver ) ; }
Called to start logging during Entity Framework initialization when this logger is registered.
Called to start logging during Entity Framework initialization when this logger is registered .
loadedEventArgs
DbConfigurationLoadedEventArgs
Arguments to the event that this interceptor mirrors.
Arguments to the event that this interceptor mirrors .
interceptionContext
DbConfigurationInterceptionContext
Contextual information about the event.
Contextual information about the event .