|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.spark.util.log.Log
public class Log
Creates and writes out messages to a a log file. This should be used for all error handling within the Agent application.
Method Summary | |
---|---|
static void |
debug(java.lang.String message)
Logs all messages to standard errout for debugging purposes. |
static void |
error(java.lang.String message)
Logs all error messages to default error logger. |
static void |
error(java.lang.String message,
java.lang.Throwable ex)
Logs all error messages to default error logger. |
static void |
error(java.lang.Throwable ex)
Logs all error messages to default error logger. |
static void |
warning(java.lang.String message)
|
static void |
warning(java.lang.String message,
java.lang.Throwable ex)
Log a warning message to the default logger. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void error(java.lang.String message, java.lang.Throwable ex)
message
- a message to append to log file.ex
- the exception being thrown.public static void error(java.lang.Throwable ex)
ex
- the exception being thrown.public static void warning(java.lang.String message, java.lang.Throwable ex)
message
- the message to log.ex
- the exception.public static void warning(java.lang.String message)
public static void error(java.lang.String message)
message
- a message to append to log file.public static void debug(java.lang.String message)
message
- the message to print out.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |