|
Connection Manager 3.4.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.util.log.output.AbstractTarget
org.jivesoftware.util.log.output.AbstractOutputTarget
org.jivesoftware.util.log.output.io.StreamTarget
org.jivesoftware.util.log.output.io.FileTarget
org.jivesoftware.util.log.output.io.rotate.RotatingFileTarget
public class RotatingFileTarget
This is a basic Output log target that writes to rotating files.
Constructor Summary | |
---|---|
RotatingFileTarget(Formatter formatter,
RotateStrategy rotateStrategy,
FileStrategy fileStrategy)
Construct RotatingFileTarget object. |
Method Summary | |
---|---|
void |
rotate()
|
void |
write(java.lang.String data)
Output the log message, and check if rotation is needed. |
Methods inherited from class org.jivesoftware.util.log.output.io.FileTarget |
---|
getFile, openFile, setFile |
Methods inherited from class org.jivesoftware.util.log.output.io.StreamTarget |
---|
close, setOutputStream, shutdownStream |
Methods inherited from class org.jivesoftware.util.log.output.AbstractOutputTarget |
---|
doProcessEvent, getFormatter, open, output, setFormatter |
Methods inherited from class org.jivesoftware.util.log.output.AbstractTarget |
---|
error, getErrorHandler, isOpen, processEvent, setErrorHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RotatingFileTarget(Formatter formatter, RotateStrategy rotateStrategy, FileStrategy fileStrategy) throws java.io.IOException
formatter
- Formatter to be used
java.io.IOException
Method Detail |
---|
public void rotate() throws java.io.IOException
java.io.IOException
public void write(java.lang.String data)
write
in class StreamTarget
data
- the data to be output
|
Connection Manager 3.4.4 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |