com.genesyslab.platform.logging.runtime.targets
Class SpooledNetworkTarget
java.lang.Object
com.genesyslab.platform.commons.log.AbstractLogEnabled
com.genesyslab.platform.logging.runtime.targets.BaseTarget
com.genesyslab.platform.logging.runtime.targets.SpooledNetworkTarget
- All Implemented Interfaces:
- ILogEnabled, Target
public final class SpooledNetworkTarget
- extends BaseTarget
Methods inherited from class com.genesyslab.platform.logging.runtime.targets.BaseTarget |
activate, applyConfiguration, enableLogging, getFilter, getFormatter, getVerbose, isEnabled, setEnabled, setFilter, setFormatter, stop, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpooledNetworkTarget
public SpooledNetworkTarget()
throws LoggerException
- Throws:
LoggerException
SpooledNetworkTarget
public SpooledNetworkTarget(NetworkTargetConfiguration configuration,
Protocol protocol)
throws LoggerException
- Throws:
LoggerException
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
setVerbose
public void setVerbose(VerboseLevel level)
- Overrides:
setVerbose
in class BaseTarget
getTargetName
protected java.lang.String getTargetName()
doActivate
protected void doActivate()
- Specified by:
doActivate
in class BaseTarget
doWrite
protected void doWrite(LogEntry entry)
throws LoggerException
- Specified by:
doWrite
in class BaseTarget
- Throws:
LoggerException
doStop
protected void doStop()
- Specified by:
doStop
in class BaseTarget
doApplyConfiguration
protected void doApplyConfiguration(LogConfiguration configuration)
- Overrides:
doApplyConfiguration
in class BaseTarget
replaceCarryingProtocol
public void replaceCarryingProtocol(Protocol argProt)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.