The AspNetSqlLoggingProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() | AspNetSqlLoggingProvider | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
![]() | CheckForUnrecognizedAttributes | Checks for unrecognized attributes and throws an ProviderException when
the config contains values. (Inherited from LoggingProviderBase.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Initializes the provider. (Overrides SqlLoggingProvider..::.Initialize(String, NameValueCollection).) |
![]() | InitializeDatabaseSchema | Initializes the database schema. (Overrides SqlLoggingProvider..::.InitializeDatabaseSchema()()().) |
![]() | Log | Overloaded. |
![]() | LogInternal | Implements the functionality to log the event. (Inherited from SqlLoggingProvider.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SaveEventToDatabase | Saves the event to database. (Overrides SqlLoggingProvider..::.SaveEventToDatabase(SqlTransaction, LoggingEventType, String, String).) |
![]() | SaveExceptionToDatabase | Saves the exception to database. (Overrides SqlLoggingProvider..::.SaveExceptionToDatabase(SqlTransaction, Exception, Int32, Nullable<(Of <(Int32>)>)).) |
![]() | ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
![]() | ApplicationName | Gets the name of the application. |
![]() | ConnectionString | Gets the connection string provided with this provider. (Inherited from SqlLoggingProvider.) |
![]() | Description | Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). (Inherited from ProviderBase.) |
![]() | FallbackProvider |
Gets the supplied fallback provider that the Logger class will use when logging
failed on this logging provider. When no fallback provider is defined in the configuration file,
null (Nothing in VB) is returned.
(Inherited from LoggingProviderBase.) |
![]() | LogFormData |
Gets a value indicating whether the form data should be logged.
|
![]() | LogQueryString |
Gets a value indicating whether the query string should be logged.
|
![]() | Name | Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.) |
![]() | RetrievalType | Gets the retrieval type of the user identity to log. |
![]() | Threshold |
Gets the LoggingEventType logging threshold. The threshold can be set through
configuration and limits the number of event logged. The threshold can be defined as follows:
Debug < Information < Warning < Error < Critical.
i.e., When the threshold is set to
Information,
Debug events will not be logged.
(Inherited from LoggingProviderBase.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() | ILogger..::.Log | Adds a event to the log. When logging fails, the event is forwarded to the
FallbackProvider, if any. (Inherited from LoggingProviderBase.) |




