| org.jivesoftware.util.Logger
Logger | public interface Logger (Code) | | A simple logging service for components. Four log levels are provided:
- Error -- an error occured in the component.
- Warn -- a condition occured that an administrator should be warned about.
- Info -- used to send information messages, such as a version or license notice.
- Debug -- used to send debugging information. Most Log implementations will
disable debug output by default.
Log implementations will attempt use the native logging service of the component host
server. However, this may not be possible in some cases -- for example, when using an
external component that is not currently connected to the server.
author: Matt Tucker |
debug | public void debug(String message)(Code) | | Logs a debug message.
Parameters: message - the debug message. |
debug | public void debug(String message, Throwable throwable)(Code) | | Logs a debug message.
Parameters: message - the debug message. Parameters: throwable - the Throwable that caused the debug message. |
debug | public void debug(Throwable throwable)(Code) | | Logs a debug message.
Parameters: throwable - the Throwable the caused the debug message. |
error | public void error(String message)(Code) | | Logs an error.
Parameters: message - the error message. |
error | public void error(String message, Throwable throwable)(Code) | | Logs an error.
Parameters: message - the error message. Parameters: throwable - the Throwable that caused the error. |
error | public void error(Throwable throwable)(Code) | | Logs an error.
Parameters: throwable - the Throwable that caused the error. |
info | public void info(String message)(Code) | | Logs an info message.
Parameters: message - the info message. |
info | public void info(String message, Throwable throwable)(Code) | | Logs an info message.
Parameters: message - the info message. Parameters: throwable - the Throwable that caused the info message. |
info | public void info(Throwable throwable)(Code) | | Logs an info message.
Parameters: throwable - the Throwable that caused the info message. |
warn | public void warn(String message)(Code) | | Logs a warning.
Parameters: message - the warning message. |
warn | public void warn(String message, Throwable throwable)(Code) | | Logs a warning.
Parameters: message - the warning message. Parameters: throwable - the Throwable that caused the error. |
warn | public void warn(Throwable throwable)(Code) | | Logs a warning.
Parameters: throwable - the Throwable that caused the error. |
|
|