BasicConfigurator ClassApache log4net™ SDK Documentation
Use this class to quickly configure a Hierarchy.
Inheritance Hierarchy

OnlineSystem Object
  log4net.Config BasicConfigurator

Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public sealed class BasicConfigurator
Remarks

Allows very simple programmatic configuration of log4net.

Only one appender can be configured using this configurator. The appender is set at the root of the hierarchy and all logging events will be delivered to that appender.

Appenders can also implement the IOptionHandler interface. Therefore they would require that the [M:log4net.Core.IOptionHandler.ActivateOptions()] method be called after the appenders properties have been configured.

See Also