Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LocalSyslogAppender Members

LocalSyslogAppender overview

Public Instance Constructors

LocalSyslogAppender Constructor Initializes a new instance of the LocalSyslogAppender class.

Public Instance Properties

ErrorHandler (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Facility Syslog facility
FilterHead (inherited from AppenderSkeleton) The filter chain.
Identity Message identity
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.

Public Instance Methods

ActivateOptions Initialize the appender based on the options set.
AddFilter (inherited from AppenderSkeleton) Adds a filter to the end of the filter chain.
AddMapping Add a mapping of level to severity
ClearFilters (inherited from AppenderSkeleton) Clears the filter list for this appender.
Close (inherited from AppenderSkeleton) Closes the appender and release resources.
DoAppend (inherited from AppenderSkeleton)Overloaded. Performs threshold checks and invokes filters before delegating actual logging to the subclasses specific Append method.
Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
ToString (inherited from Object)

Protected Instance Properties

RequiresLayout This appender requires a Layout to be set.

Protected Instance Methods

AppendOverloaded. This method is called by the DoAppend method.
Append (inherited from AppenderSkeleton)Overloaded. Subclasses of AppenderSkeleton should implement this method to perform actual logging.
FilterEvent (inherited from AppenderSkeleton) Test if the logging event should we output by this appender
Finalize (inherited from AppenderSkeleton) Finalizes this appender by calling the implementation's Close method.
GetSeverity Translates a log4net level to a syslog severity.
IsAsSevereAsThreshold (inherited from AppenderSkeleton) Checks if the message level is below this appender's threshold.
MemberwiseClone (inherited from Object)
OnClose Close the syslog when the appender is closed
PreAppendCheck (inherited from AppenderSkeleton) Called before Append as a precondition.
RenderLoggingEvent (inherited from AppenderSkeleton)Overloaded. Renders the LoggingEvent to a string.

See Also

LocalSyslogAppender Class | log4net.Appender Namespace