public class FileLoggerHandler extends Handler
Modifier and Type | Method and Description |
---|---|
int |
associate()
Increment the associations and return the result.
|
void |
close()
Called to close this log handler.
|
int |
disassociate()
Decrement the associations and return the result.
|
void |
flush()
Called to flush any cached data that
this log handler may contain.
|
String |
getLogFile()
Return location of log file associated to this handler.
|
boolean |
isAssociated() |
void |
publish(LogRecord record)
Overridden method used to capture log entries
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public int associate()
public int disassociate()
public boolean isAssociated()
public void publish(LogRecord record)
public void flush()
public String getLogFile()
Copyright © 2021. All rights reserved.