Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IOptionHandler Interface

Interface used to delay activate a configured object.

For a list of all members of this type, see IOptionHandler Members.

log4net.Core.IOptionHandler
���log4net.Filter.IFilter

[Visual�Basic]
Public�Interface�IOptionHandler
[C#]
public�interface�IOptionHandler

Types that implement IOptionHandler

Type Description
AdoNetAppender Appender that logs to a database.
AnsiColorTerminalAppender Appends logging events to the terminal using ANSI color escape sequences.
AnsiColorTerminalAppender.LevelColors A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
AppenderSkeleton Abstract base class implementation of IAppender.
AspNetTraceAppender

Appends log events to the ASP.NET TraceContext system.

BufferingAppenderSkeleton Abstract base class implementation of IAppender that buffers events in a fixed size buffer.
BufferingForwardingAppender Buffers events and then forwards them to attached appenders.
ColoredConsoleAppender Appends logging events to the console.
ColoredConsoleAppender.LevelColors A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
ConsoleAppender Appends logging events to the console.
DebugAppender Appends log events to the Debug system.
EventLogAppender Writes events to the system event log.
EventLogAppender.Level2EventLogEntryType A class to act as a mapping between the level that a logging call is made at and the color it should be displayed as.
FileAppender Appends logging events to a file.
ForwardingAppender This appender forwards logging events to attached appenders.
LocalSyslogAppender Logs events to a local syslog service.
LocalSyslogAppender.LevelSeverity A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.
MemoryAppender Stores logging events in an array.
NetSendAppender Logs entries by sending network messages using the NetMessageBufferSend native function.
OutputDebugStringAppender Appends log events to the OutputDebugString system.
RemoteSyslogAppender Logs events to a remote syslog daemon.
RemoteSyslogAppender.LevelSeverity A class to act as a mapping between the level that a logging call is made at and the syslog severity that is should be logged at.
RemotingAppender Delivers logging events to a remote logging sink.
RollingFileAppender Appender that rolls log files based on size or date or both.
SmtpAppender Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.
SmtpPickupDirAppender Send an email when a specific logging event occurs, typically on errors or fatal errors. Rather than sending via smtp it writes a file into the directory specified by PickupDir. This allows services such as the IIS SMTP agent to manage sending the messages.
TelnetAppender Appender that allows clients to connect via Telnet to receive log messages
TextWriterAppender Sends logging events to a TextWriter.
TraceAppender Appends log events to the Trace system.
UdpAppender Sends logging events as connectionless UDP datagrams to a remote host or a multicast group using an UdpClient.
DenyAllFilter This filter drops all LoggingEvent.
FilterSkeleton Subclass this type to implement customized logging event filtering
LevelMatchFilter This is a very simple filter based on Level matching.
LevelRangeFilter This is a simple filter based on Level matching.
LoggerMatchFilter Simple filter to match a string in the event's logger name.
MdcFilter Simple filter to match a keyed string in the MDC
NdcFilter Simple filter to match a string in the NDC
PropertyFilter Simple filter to match a string an event property
StringMatchFilter Simple filter to match a string in the rendered message
ExceptionLayout A Layout that renders only the Exception text from the logging event
LayoutSkeleton Extend this abstract class to create your own log layout format.
NamedPatternConverter Converter to output and truncate '.' separated strings
PatternLayout A flexible layout configurable with pattern string.
SimpleLayout A very simple layout
XmlLayout Layout that formats the log events as XML elements.
XmlLayoutBase Layout that formats the log events as XML elements.
XmlLayoutSchemaLog4j Layout that formats the log events as XML elements compatible with the log4j schema
LevelMapping Manages a mapping from levels to LevelMappingEntry
LevelMappingEntry An entry in the LevelMapping
PatternString This class implements a patterned string.
WindowsSecurityContext Impersonate a Windows Account

Remarks

This allows an object to defer activation of its options until all options have been set. This is required for components which have related options that remain ambiguous until all are set.

If a component implements this interface then the ActivateOptions method must be called by the container after its all the configured properties have been set and before the component can be used.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

IOptionHandler Members | log4net.Core Namespace