EventLogAppender PropertiesApache log4net™ SDK Documentation

The EventLogAppender type exposes the following members.

Properties

  NameDescription
Public propertyApplicationName
Property used to set the Application name. This appears in the event logs when logging.
Public propertyCategory
Gets or sets the Category to use unless one is explicitly specified via the LoggingEvent's properties.
Public propertyErrorHandler
Gets or sets the IErrorHandler for this appender.
(Inherited from AppenderSkeleton.)
Public propertyEventId
Gets or sets the EventId to use unless one is explicitly specified via the LoggingEvent's properties.
Public propertyFilterHead
The filter chain.
(Inherited from AppenderSkeleton.)
Public propertyLayout
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.)
Public propertyLogName
The name of the log where messages will be stored.
Public propertyMachineName
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 "."
Public propertyName
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.)
Protected propertyRequiresLayout
This appender requires a log4net.Layout to be set.
(Overrides AppenderSkeletonRequiresLayout.)
Public propertySecurityContext
Gets or sets the SecurityContext used to write to the EventLog.
Public propertyThreshold
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.)
Top
See Also

Reference