public class Logger extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultFile |
static int |
defaultLevel |
static boolean |
defaultSynced |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object msg) |
void |
debug(String msg) |
void |
debug(String msg,
Throwable t) |
void |
debug(Throwable t) |
void |
error(Object msg) |
void |
error(String msg) |
void |
error(String msg,
Throwable t) |
void |
error(Throwable t) |
void |
fatal(Object msg) |
void |
fatal(String msg) |
void |
fatal(String msg,
Throwable t) |
void |
fatal(Throwable t) |
protected void |
finalize() |
String |
getFile() |
int |
getLevel() |
PrintWriter |
getOutput() |
void |
info(Object msg) |
void |
info(String msg) |
void |
info(String msg,
Throwable t) |
void |
info(Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isEnabledFor(Object o) |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isSynced() |
boolean |
isWarnEnabled() |
void |
setFile(String v) |
void |
setLevel(int lv) |
void |
setLevel(Object o) |
void |
setSynced(boolean synced) |
void |
updateSettings() |
void |
warn(Object msg) |
void |
warn(String msg) |
void |
warn(String msg,
Throwable t) |
void |
warn(Throwable t) |
public static final int defaultLevel
public static final boolean defaultSynced
public static final String defaultFile
public void updateSettings()
protected void finalize()
throws Throwable
public String getFile()
public void setFile(String v)
public void setLevel(int lv)
public int getLevel()
public void setLevel(Object o)
public boolean isEnabledFor(Object o)
public boolean isDebugEnabled()
public boolean isInfoEnabled()
public boolean isWarnEnabled()
public boolean isErrorEnabled()
public boolean isFatalEnabled()
public void info(Object msg)
public void info(String msg)
public void info(Throwable t)
public void debug(Object msg)
public void debug(String msg)
public void debug(Throwable t)
public void warn(Object msg)
public void warn(String msg)
public void warn(Throwable t)
public void error(Object msg)
public void error(String msg)
public void error(Throwable t)
public void fatal(Object msg)
public void fatal(String msg)
public void fatal(Throwable t)
public boolean isSynced()
public void setSynced(boolean synced)
public PrintWriter getOutput()
Copyright © 2017. All rights reserved.