|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.enhydra.shark.logging.EnhydraLoggingManager
Implementation of LoggingManager interface.
Field Summary | |
static java.lang.String |
ENHYDRA_DEFAULT_LOG_CLASS
|
static java.lang.String |
ENHYDRA_LOG_CLASS
|
Fields inherited from interface org.enhydra.shark.api.internal.logging.LoggingManager |
DEBUG_LEVEL, ERROR_LEVEL, FATAL_LEVEL, INFO_LEVEL, WARN_LEVEL |
Constructor Summary | |
EnhydraLoggingManager()
|
Method Summary | |
void |
configure(CallbackUtilities cus)
Configures StandardLoggingManager. |
void |
debug(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the DEBUG level. |
void |
debug(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the DEBUG level. |
void |
debug(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the DEBUG level. |
void |
debug(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the DEBUG level. |
void |
error(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the ERROR Level. |
void |
error(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the ERROR Level. |
void |
error(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the ERROR Level. |
void |
error(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the ERROR Level. |
void |
info(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the INFO Level. |
void |
info(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the INFO Level. |
void |
info(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the INFO Level. |
void |
info(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the INFO Level. |
protected boolean |
isEnabled(int sharkLevel,
int logerLevel)
|
boolean |
isEnabled(WMSessionHandle shandle,
int level)
|
boolean |
isEnabled(WMSessionHandle shandle,
java.lang.String channel,
int level)
|
void |
warn(WMSessionHandle shandle,
java.lang.String msg)
Log a message object with the WARN Level. |
void |
warn(WMSessionHandle shandle,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the WARN Level. |
void |
warn(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg)
Log a message object with the WARN Level. |
void |
warn(WMSessionHandle shandle,
java.lang.String channel,
java.lang.String msg,
java.lang.Exception ex)
Log a message object with the WARN Level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ENHYDRA_LOG_CLASS
public static final java.lang.String ENHYDRA_DEFAULT_LOG_CLASS
Constructor Detail |
public EnhydraLoggingManager()
Method Detail |
public void configure(CallbackUtilities cus) throws java.lang.Exception
configure
in interface LoggingManager
cus
- an instance of CallbackUtilities used to get properties for configuring
logging in Shark.
java.lang.Exception
- thrown if configuring doesn't succeed.public void error(WMSessionHandle shandle, java.lang.String msg) throws java.lang.Exception
error
in interface LoggingManager
msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void error(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
error
in interface LoggingManager
msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void error(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg) throws java.lang.Exception
error
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void error(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
error
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void warn(WMSessionHandle shandle, java.lang.String msg) throws java.lang.Exception
warn
in interface LoggingManager
msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void warn(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
warn
in interface LoggingManager
msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void warn(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg) throws java.lang.Exception
warn
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void warn(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
warn
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void info(WMSessionHandle shandle, java.lang.String msg) throws java.lang.Exception
info
in interface LoggingManager
msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void info(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
info
in interface LoggingManager
msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void info(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg) throws java.lang.Exception
info
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void info(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
info
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void debug(WMSessionHandle shandle, java.lang.String msg) throws java.lang.Exception
debug
in interface LoggingManager
msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void debug(WMSessionHandle shandle, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
debug
in interface LoggingManager
msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public void debug(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg) throws java.lang.Exception
debug
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.
java.lang.Exception
- If something unexpected happens.public void debug(WMSessionHandle shandle, java.lang.String channel, java.lang.String msg, java.lang.Exception ex) throws java.lang.Exception
debug
in interface LoggingManager
channel
- the log channel to be used for logging.msg
- the message to log.ex
- the exception to log, including its stack trace.
java.lang.Exception
- If something unexpected happens.public boolean isEnabled(WMSessionHandle shandle, int level) throws java.lang.Exception
isEnabled
in interface LoggingManager
java.lang.Exception
public boolean isEnabled(WMSessionHandle shandle, java.lang.String channel, int level) throws java.lang.Exception
isEnabled
in interface LoggingManager
java.lang.Exception
protected boolean isEnabled(int sharkLevel, int logerLevel) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |