public final class LogConfigurationFactory
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static LogConfigurationImpl |
parse(KeyValueCollection logOptions,
KeyValueCollection logExtOptions,
ILogger logger) |
Parses given application log options with extended log section.
|
static LogConfigurationImpl |
parse(KeyValueCollection logOptions,
ILogger logger) |
Parses given application log options.
|
static LogConfigurationImpl |
parse(org.w3c.dom.Element xmlCfgApplication,
ILogger logger) |
Parses log options from given application configuration.
|
public static LogConfigurationImpl parse(KeyValueCollection logOptions, ILogger logger)
logOptions
- content of 'log' section of the application options to parse.logger
- logger instance for possible errors or warnings reporting. May be null.LogConfiguration
.java.lang.IllegalArgumentException
- if "logOptions" is null.public static LogConfigurationImpl parse(KeyValueCollection logOptions, KeyValueCollection logExtOptions, ILogger logger)
logOptions
- Content of 'log' section of the application options to parse.logExtOptions
- Content of 'log-extended' section of the application options to parse.logger
- logger instance for possible errors or warnings reporting. May be null.LogConfiguration
.java.lang.IllegalArgumentException
- if "logOptions" is null.public static LogConfigurationImpl parse(org.w3c.dom.Element xmlCfgApplication, ILogger logger) throws LoggerException
xmlCfgApplication
- "CfgApplication" DOM tree representing application configuration
in accordance to the configuration server schema.logger
- logger instance for possible errors or warnings reporting. May be null.LogConfiguration
.LoggerException
- if there is something wrong with structure of "xmlCfgApplication".
See exception message for details.java.lang.NullPointerException
- if given application configuration ("xmlCfgApplication") is null.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.