The SqlLoggingProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() | SqlLoggingProvider | 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 LoggingProviderBase..::.Initialize(String, NameValueCollection).) |
![]() | InitializeDatabaseSchema | Initializes the database schema. |
![]() | Log | Overloaded. |
![]() | LogInternal | Implements the functionality to log the event. (Overrides LoggingProviderBase..::.LogInternal(LogEntry).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SaveEventToDatabase | Saves the event to database. |
![]() | SaveExceptionToDatabase | Saves the exception to database. |
![]() | ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
![]() | ConnectionString | Gets the connection string provided with this provider. |
![]() | 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.) |
![]() | Name | Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.) |
![]() | 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.) |




