What are the features of log4net?
• log4net is optimized for speed. • log4net is based on a named logger hierarchy. • log4net is fail-stop but not reliable. • log4net is thread-safe. • log4net is not restricted to a predefined set of facilities. • Logging behavior can be set at runtime using a configuration file. Configuration files are in XML format. • log4net is designed to handle exceptions from the start. • log4net can direct its output to many sinks including: a file, the console, the NT EventLog or even e-mail. • log4net categorizes logging into levels: DEBUG, INFO, WARN, ERROR and FATAL. • The format of the log output can be easily changed by implementing a new layout class. • The target of the log output as well as the writing strategy can be altered by writing a new appender class. • log4net supports multiple output appenders per logger. See the features overview document for more information on the features of log4net.