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
IOException
public Formatter getFormatter()
getFormatter
in class Handler
public void setFormatter(Formatter formatter) throws SecurityException
setFormatter
in class Handler
SecurityException
public String getEncoding()
getEncoding
in class Handler
public void setEncoding(String s) throws SecurityException, UnsupportedEncodingException
setEncoding
in class Handler
SecurityException
UnsupportedEncodingException
public void setFilter(Filter filter) throws SecurityException
setFilter
in class Handler
SecurityException
public ErrorManager getErrorManager()
getErrorManager
in class Handler
public void setErrorManager(ErrorManager errorManager)
setErrorManager
in class Handler
public void setLevel(Level level) throws SecurityException
setLevel
in class Handler
SecurityException
public boolean isLoggable(LogRecord logRecord)
isLoggable
in class Handler
public void close() throws SecurityException
close
in class Handler
SecurityException
Copyright © 2017 The Apache Software Foundation. All rights reserved.