com.genesyslab.platform.logging.runtime.targets
Class DefaultTargetFactory
java.lang.Object
com.genesyslab.platform.commons.log.AbstractLogEnabled
com.genesyslab.platform.logging.runtime.targets.DefaultTargetFactory
- All Implemented Interfaces:
- ILogEnabled, TargetFactory
public final class DefaultTargetFactory
- extends AbstractLogEnabled
- implements TargetFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTargetFactory
public DefaultTargetFactory(ILogger logger)
onEnableLogging
protected void onEnableLogging(ILogger logger)
- Description copied from class:
AbstractLogEnabled
- Override this method to perform additional logging related actions,
such as passing logger down to hierarchy, etc.
- Overrides:
onEnableLogging
in class AbstractLogEnabled
- Parameters:
logger
- The ILogger instance
createConsoleTarget
public BaseTarget createConsoleTarget(LogConfiguration configuration)
throws LoggerException
- Specified by:
createConsoleTarget
in interface TargetFactory
- Throws:
LoggerException
createNetworkTarget
public SpooledNetworkTarget createNetworkTarget(LogConfiguration configuration,
Protocol networkProtocol)
throws LoggerException
- Specified by:
createNetworkTarget
in interface TargetFactory
- Throws:
LoggerException
createFileTarget
public FileTarget createFileTarget(FileConfiguration fileConfiguration,
LogConfiguration globalConfig,
FileHeaderProvider headerProvider)
throws java.lang.Exception
- Specified by:
createFileTarget
in interface TargetFactory
- Throws:
java.lang.Exception
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.