Method Summary |
|
final public void | debug(String message, Throwable throwable) Log a debug priority event. |
final public void | debug(String message) Log a debug priority event. |
final public void | error(String message, Throwable throwable) Log a error priority event. |
final public void | error(String message) Log a error priority event. |
final public void | fatalError(String message, Throwable throwable) Log a fatalError priority event. |
final public void | fatalError(String message) Log a fatalError priority event. |
final public String | getCategory() Retrieve category associated with logger. |
public synchronized Logger | getChildLogger(String subCategory) Create a new child logger. |
public synchronized Logger[] | getChildren() Get all the child Loggers of current logger. |
public LogTarget[] | getLogTargets() Get a copy of log targets for this logger. |
final public Priority | getPriority() Retrieve priority associated with Logger. |
final public void | info(String message, Throwable throwable) Log a info priority event. |
final public void | info(String message) Log a info priority event. |
final public boolean | isDebugEnabled() Determine if messages of priority DEBUG will be logged. |
final public boolean | isErrorEnabled() Determine if messages of priority ERROR will be logged. |
final public boolean | isFatalErrorEnabled() Determine if messages of priority FATAL_ERROR will be logged. |
final public boolean | isInfoEnabled() Determine if messages of priority INFO will be logged. |
final public boolean | isPriorityEnabled(Priority priority) Determine if messages of priority will be logged. |
final public boolean | isWarnEnabled() Determine if messages of priority WARN will be logged. |
final public void | log(Priority priority, String message, Throwable throwable) Log a event at specific priority with a certain message and throwable. |
final public void | log(Priority priority, String message) Log a event at specific priority with a certain message. |
final public void | setAdditivity(boolean additivity) Make this logger additive, which means send all log events to parent
loggers LogTargets regardless of whether or not the
LogTargets have been overidden. |
public synchronized void | setLogTargets(LogTarget[] logTargets) Set the log targets for this logger. |
public synchronized void | setPriority(Priority priority) Set the priority for this logger. |
public synchronized void | unsetLogTargets() Unset the logtargets for this logger. |
public synchronized void | unsetLogTargets(boolean recursive) Unset the logtargets for this logger and all child loggers if recursive is set. |
public synchronized void | unsetPriority() Unset the priority of Logger. |
public synchronized void | unsetPriority(boolean recursive) Unset the priority of Logger. |
final public void | warn(String message, Throwable throwable) Log a warn priority event. |
final public void | warn(String message) Log a warn priority event. |