public final class DFSHandler extends Handler
| Modifier and Type | Field and Description |
|---|---|
static String |
DFS_PATH_OPTION |
static String |
FORMATTER_OPTION |
| Constructor and Description |
|---|
DFSHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
String |
getEncoding() |
ErrorManager |
getErrorManager() |
Filter |
getFilter() |
Formatter |
getFormatter() |
Level |
getLevel() |
boolean |
isLoggable(LogRecord logRecord) |
void |
publish(LogRecord logRecord) |
void |
setEncoding(String s) |
void |
setErrorManager(ErrorManager errorManager) |
void |
setFilter(Filter filter) |
void |
setFormatter(Formatter formatter) |
void |
setLevel(Level level) |
public static final String DFS_PATH_OPTION
public static final String FORMATTER_OPTION
@Inject public DFSHandler() throws IOException
IOExceptionpublic Formatter getFormatter()
getFormatter in class Handlerpublic void setFormatter(Formatter formatter) throws SecurityException
setFormatter in class HandlerSecurityExceptionpublic String getEncoding()
getEncoding in class Handlerpublic void setEncoding(String s) throws SecurityException, UnsupportedEncodingException
setEncoding in class HandlerSecurityExceptionUnsupportedEncodingExceptionpublic void setFilter(Filter filter) throws SecurityException
setFilter in class HandlerSecurityExceptionpublic ErrorManager getErrorManager()
getErrorManager in class Handlerpublic void setErrorManager(ErrorManager errorManager)
setErrorManager in class Handlerpublic void setLevel(Level level) throws SecurityException
setLevel in class HandlerSecurityExceptionpublic boolean isLoggable(LogRecord logRecord)
isLoggable in class Handlerpublic void close() throws SecurityException
close in class HandlerSecurityExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.