The EventLogAppender type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
ApplicationName |
Property used to set the Application name. This appears in the
event logs when logging.
| |
Category |
Gets or sets the Category to use unless one is explicitly specified via the LoggingEvent's properties.
| |
ErrorHandler |
Gets or sets the IErrorHandler for this appender.
(Inherited from AppenderSkeleton.) | |
EventId |
Gets or sets the EventId to use unless one is explicitly specified via the LoggingEvent's properties.
| |
FilterHead |
The filter chain.
(Inherited from AppenderSkeleton.) | |
Layout |
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.) | |
LogName |
The name of the log where messages will be stored.
| |
MachineName |
This property is used to return the name of the computer to use
when accessing the event logs. Currently, this is the current
computer, denoted by a dot "."
| |
Name |
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.) | |
RequiresLayout |
This appender requires a log4net.Layout to be set.
(Overrides AppenderSkeleton RequiresLayout.) | |
SecurityContext |
Gets or sets the SecurityContext used to write to the EventLog.
| |
Threshold |
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.) |
See Also