The properties of the EventLogAppender class are listed below. For a complete list of EventLogAppender class members, see the EventLogAppender Members topic.
ApplicationName | Property used to set the Application name. This appears in the event logs when logging. |
ErrorHandler (inherited from AppenderSkeleton) | Gets or sets the IErrorHandler for this appender. |
FilterHead (inherited from AppenderSkeleton) | The filter chain. |
Layout (inherited from AppenderSkeleton) | Gets or sets the ILayout for this appender. |
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 (inherited from AppenderSkeleton) | Gets or sets the name of this appender. |
SecurityContext | Gets or sets the SecurityContext used to write to the EventLog. |
Threshold (inherited from AppenderSkeleton) | Gets or sets the threshold Level of this appender. |
RequiresLayout | This appender requires a log4net.Layout to be set. |
EventLogAppender Class | log4net.Appender Namespace