public class LogHandler extends Handler
Modifier and Type | Class and Description |
---|---|
static class |
LogHandler.DefaultConsoleHandler |
Modifier and Type | Field and Description |
---|---|
static String |
LOG_HOST |
static int |
LOG_PORT |
Modifier | Constructor and Description |
---|---|
protected |
LogHandler() |
|
LogHandler(Config conf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
printStatus(Logger log) |
void |
publish(LogRecord r) |
void |
setOutput(OutputStream ostream) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public static String LOG_HOST
public static int LOG_PORT
public LogHandler(Config conf)
protected LogHandler()
public void setOutput(OutputStream ostream)
public void close() throws SecurityException
close
in class Handler
SecurityException
public void printStatus(Logger log)