|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Handler
com.caucho.log.PathHandler
@Configurable public class PathHandler
Configures a log handler
| Constructor Summary | |
|---|---|
PathHandler()
|
|
PathHandler(Path path)
Convenience method to create a path. |
|
PathHandler(java.lang.String path)
Convenience method to create a path. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the handler. |
boolean |
equals(java.lang.Object o)
Test for equality. |
void |
flush()
Flushes the buffer. |
int |
hashCode()
Returns the hash code. |
void |
init()
Initialize the log. |
void |
publish(java.util.logging.LogRecord record)
Publishes the record. |
void |
setArchiveFormat(java.lang.String archiveFormat)
Sets the archive-format |
void |
setFilter(java.util.logging.Filter filter)
Sets the filter. |
void |
setFormatter(java.util.logging.Formatter formatter)
Sets the formatter. |
void |
setPath(Path path)
Sets the path |
void |
setPathFormat(java.lang.String pathFormat)
Sets the path-format |
void |
setRolloverCount(int count)
Sets the rollover-count |
void |
setRolloverPeriod(Period rolloverPeriod)
Sets the rollover-period |
void |
setRolloverSize(Bytes size)
Sets the rollover-size |
void |
setTimestamp(java.lang.String timestamp)
Sets the timestamp. |
java.lang.String |
toString()
|
| Methods inherited from class java.util.logging.Handler |
|---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PathHandler()
public PathHandler(Path path)
public PathHandler(java.lang.String path)
| Method Detail |
|---|
public void setPath(Path path)
public void setPathFormat(java.lang.String pathFormat)
public void setArchiveFormat(java.lang.String archiveFormat)
public void setRolloverPeriod(Period rolloverPeriod)
public void setRolloverSize(Bytes size)
public void setRolloverCount(int count)
public void setTimestamp(java.lang.String timestamp)
public void setFormatter(java.util.logging.Formatter formatter)
setFormatter in class java.util.logging.Handlerpublic void setFilter(java.util.logging.Filter filter)
setFilter in class java.util.logging.Handler
@PostConstruct
public void init()
throws ConfigException
ConfigExceptionpublic void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.Handlerpublic void flush()
flush in class java.util.logging.Handlerpublic void close()
close in class java.util.logging.Handlerpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||