public final class JavaLoggerFileHandler extends StreamHandler
Constructor and Description |
---|
JavaLoggerFileHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
fileName()
Returns current log file.
|
void |
flush() |
boolean |
isLoggable(LogRecord record) |
void |
nodeId(UUID nodeId)
Sets Node id and instantiates
FileHandler delegate. |
void |
publish(LogRecord record) |
String |
toString() |
setEncoding, setOutputStream
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
public void publish(LogRecord record)
publish
in class StreamHandler
public void flush()
flush
in class StreamHandler
public void close() throws SecurityException
close
in class StreamHandler
SecurityException
public boolean isLoggable(LogRecord record)
isLoggable
in class StreamHandler
public void nodeId(UUID nodeId) throws IgniteCheckedException, IOException
FileHandler
delegate.nodeId
- Node id.IgniteCheckedException
IOException
@Nullable public String fileName()
null
if node id has not been set yet.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015