Initializes logging with the specified logging application name and whether or not to send log messages to receivers on the network. Any logger instances obtained before the logging framework is initialized will be enabled to send messages after this method is called successfully.
If an external configuration file is present (Web.config), the values set in the configuration file take priority over values passed in the parameters.
true
to send log messages beyond the local machine.Exception Type | Condition |
---|---|
ArgumentException | An improper value is passed for loggingApplicationName. |
InvalidOperationException | Logging has already been initialized via Initialize() or from external configuration. |
LogFactory Class | Plumtree.Remote.Logging Namespace