com.genesyslab.platform.logging.runtime.targets
Class FileWriter
java.lang.Object
com.genesyslab.platform.commons.log.AbstractLogEnabled
com.genesyslab.platform.logging.runtime.targets.FileWriter
- All Implemented Interfaces:
- ILogEnabled
public class FileWriter
- extends AbstractLogEnabled
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWriter
public FileWriter()
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
getAppendToFile
public boolean getAppendToFile()
setAppendToFile
public void setAppendToFile(boolean value)
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String value)
getFlushWriter
public boolean getFlushWriter()
setFlushWriter
public void setFlushWriter(boolean value)
getCountingWriter
public CountingTextWriter getCountingWriter()
setCountingWriter
public void setCountingWriter(CountingTextWriter writer)
getCreationTime
public java.util.Date getCreationTime()
activateOptions
public void activateOptions()
throws java.lang.Exception
- Throws:
java.lang.Exception
write
public void write(java.lang.String message)
throws java.lang.Exception
- Throws:
java.lang.Exception
dispose
public void dispose()
- Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
setEncoding
public void setEncoding(java.lang.String encoding)
getEncoding
public java.lang.String getEncoding()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.