|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jivesoftware.spark.util.log.Logger
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 |
logError(java.lang.String message)
Logs all error messages to default error logger. |
static void |
logError(java.lang.String message,
java.lang.Throwable ex)
Logs all error messages to default error logger. |
static void |
logWarning(java.lang.String message)
|
static void |
logWarning(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 logError(java.lang.String message,
java.lang.Throwable ex)
message - a message to append to log file.ex - the exception being thrown.
public static void logWarning(java.lang.String message,
java.lang.Throwable ex)
message - the message to log.ex - the exception.public static void logWarning(java.lang.String message)
public static void logError(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 | ||||||||||