| org.enhydra.shark.api.internal.logging.LoggingManager
All known Subclasses: org.enhydra.shark.logging.StandardLoggingManager, org.enhydra.shark.logging.EnhydraLoggingManager,
LoggingManager | public interface LoggingManager (Code) | | LoggingManager handles logging in Shark.
author: Sasa Bojanic author: Vladimir Puskas author: Tanja Jovanovic |
Method Summary | |
void | configure(CallbackUtilities cus) Method configure is called at Shark start up, to configure
implementation of LoggingManager. | void | debug(WMSessionHandle shandle, String msg) Log a message object with the DEBUG level. | void | debug(WMSessionHandle shandle, String msg, Exception ex) Log a message object with the DEBUG level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. | void | debug(WMSessionHandle shandle, String channel, String msg) Log a message object with the DEBUG level.
Parameters: channel - the log channel to be used for logging. | void | debug(WMSessionHandle shandle, String channel, String msg, Exception ex) Log a message object with the DEBUG level.
Parameters: channel - the log channel to be used for logging. | void | error(WMSessionHandle shandle, String msg) Log a message object with the ERROR Level. | void | error(WMSessionHandle shandle, String msg, Exception ex) Log a message object with the ERROR Level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. | void | error(WMSessionHandle shandle, String channel, String msg) Log a message object with the ERROR Level.
Parameters: channel - the log channel to be used for logging. | void | error(WMSessionHandle shandle, String channel, String msg, Exception ex) Log a message object with the ERROR Level.
Parameters: channel - the log channel to be used for logging. | void | info(WMSessionHandle shandle, String msg) Log a message object with the INFO Level. | void | info(WMSessionHandle shandle, String msg, Exception ex) Log a message object with the INFO Level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. | void | info(WMSessionHandle shandle, String channel, String msg) Log a message object with the INFO Level.
Parameters: channel - the log channel to be used for logging. | void | info(WMSessionHandle shandle, String channel, String msg, Exception ex) Log a message object with the INFO Level.
Parameters: channel - the log channel to be used for logging. | boolean | isEnabled(WMSessionHandle shandle, int level) Returns if the specified logging level is enabled for the default channel. | boolean | isEnabled(WMSessionHandle shandle, String channel, int level) Returns if the specified logging level is enabled for the specified channel. | void | warn(WMSessionHandle shandle, String msg) Log a message object with the WARN Level. | void | warn(WMSessionHandle shandle, String msg, Exception ex) Log a message object with the WARN Level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. | void | warn(WMSessionHandle shandle, String channel, String msg) Log a message object with the WARN Level.
Parameters: channel - the log channel to be used for logging. | void | warn(WMSessionHandle shandle, String channel, String msg, Exception ex) Log a message object with the WARN Level.
Parameters: channel - the log channel to be used for logging. |
DEBUG_LEVEL | final public static int DEBUG_LEVEL(Code) | | |
ERROR_LEVEL | final public static int ERROR_LEVEL(Code) | | |
FATAL_LEVEL | final public static int FATAL_LEVEL(Code) | | |
INFO_LEVEL | final public static int INFO_LEVEL(Code) | | |
WARN_LEVEL | final public static int WARN_LEVEL(Code) | | |
configure | void configure(CallbackUtilities cus) throws Exception(Code) | | Method configure is called at Shark start up, to configure
implementation of LoggingManager.
Parameters: cus - an instance of CallbackUtilities used to getproperties for configuring logging in Shark. exception: Exception - Thrown if configuring doesn't succeed. |
debug | void debug(WMSessionHandle shandle, String msg, Exception ex) throws Exception(Code) | | Log a message object with the DEBUG level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
debug | void debug(WMSessionHandle shandle, String channel, String msg) throws Exception(Code) | | Log a message object with the DEBUG level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. exception: Exception - If something unexpected happens. |
debug | void debug(WMSessionHandle shandle, String channel, String msg, Exception ex) throws Exception(Code) | | Log a message object with the DEBUG level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
error | void error(WMSessionHandle shandle, String msg, Exception ex) throws Exception(Code) | | Log a message object with the ERROR Level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
error | void error(WMSessionHandle shandle, String channel, String msg) throws Exception(Code) | | Log a message object with the ERROR Level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. exception: Exception - If something unexpected happens. |
error | void error(WMSessionHandle shandle, String channel, String msg, Exception ex) throws Exception(Code) | | Log a message object with the ERROR Level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
info | void info(WMSessionHandle shandle, String msg, Exception ex) throws Exception(Code) | | Log a message object with the INFO Level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
info | void info(WMSessionHandle shandle, String channel, String msg) throws Exception(Code) | | Log a message object with the INFO Level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. exception: Exception - If something unexpected happens. |
info | void info(WMSessionHandle shandle, String channel, String msg, Exception ex) throws Exception(Code) | | Log a message object with the INFO Level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
isEnabled | boolean isEnabled(WMSessionHandle shandle, int level) throws Exception(Code) | | Returns if the specified logging level is enabled for the default channel.
|
warn | void warn(WMSessionHandle shandle, String msg, Exception ex) throws Exception(Code) | | Log a message object with the WARN Level.
Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
warn | void warn(WMSessionHandle shandle, String channel, String msg) throws Exception(Code) | | Log a message object with the WARN Level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. exception: Exception - If something unexpected happens. |
warn | void warn(WMSessionHandle shandle, String channel, String msg, Exception ex) throws Exception(Code) | | Log a message object with the WARN Level.
Parameters: channel - the log channel to be used for logging. Parameters: msg - the message to log. Parameters: ex - the exception to log, including its stack trace. exception: Exception - If something unexpected happens. |
|
|