The WindowsEventLogLoggingProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() | WindowsEventLogLoggingProvider | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
![]() | BuildEventLogMessage | Builds the event log message. |
![]() | 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 | Overridden from base. (Overrides LoggingProviderBase..::.Initialize(String, NameValueCollection).) |
![]() | 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.) |
![]() | ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
![]() | 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.) |
![]() | LogName |
Gets the name of the log where the source's entries are written to. Possible values include:
Application, System, or a custom event log.
|
![]() | Name | Gets the friendly name used to refer to the provider during configuration. (Inherited from ProviderBase.) |
![]() | Source |
Gets the source name to register and use when writing to the event log. This is the source name by
which the application is registered on the local computer.
|
![]() | 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.) |




