public final class JavaLoggerFileHandler extends StreamHandler
| Constructor and Description |
|---|
JavaLoggerFileHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
@Nullable String |
fileName()
Returns current log file.
|
void |
flush() |
boolean |
isLoggable(LogRecord record) |
void |
nodeId(UUID nodeId,
String workDir)
Sets Node id and instantiates
FileHandler delegate. |
void |
publish(LogRecord record) |
String |
toString() |
setEncoding, setOutputStreamgetEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevelpublic void publish(LogRecord record)
publish in class StreamHandlerpublic void flush()
flush in class StreamHandlerpublic void close()
throws SecurityException
close in class StreamHandlerSecurityExceptionpublic boolean isLoggable(LogRecord record)
isLoggable in class StreamHandlerpublic void nodeId(UUID nodeId, String workDir) throws IgniteCheckedException, IOException
FileHandler delegate.nodeId - Node id.IgniteCheckedExceptionIOException@Nullable public @Nullable String fileName()
null if node id has not been set yet.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019