|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.system.Log
public class Log
This is the facade for the main system logging mechanism. It should be used for all logging activities. Convenience routines are provided to log at the various defined levels and to indent and undent.
| Constructor Summary | |
|---|---|
Log()
|
|
| Method Summary | |
|---|---|
static void |
debug(java.lang.Object message)
Only used for serious debugging. |
static void |
error(java.lang.Object message)
Errors are potential problems that may affect correct behavior of the application, but generally do not cause the application to abort. |
static void |
error(java.lang.Throwable message)
|
static void |
fatal(java.lang.Object message)
Fatal errors are definitely problems, and generally cause either incorrect or incomplete behavior or out-and-out software failure. |
static void |
fatal(java.lang.Throwable message)
|
static void |
info(java.lang.Object message)
Info entries are normal log entries, used for informational or troubleshooting purposes only. |
static void |
pop()
Pops the context. |
static void |
push(java.lang.String contextName)
Pushes the context in, and gives it a name. |
static void |
setName(java.lang.String name)
Provides a name for the log. |
static void |
setupLogging()
|
static void |
setupLoggingForCGI()
|
static void |
warn(java.lang.Object message)
Warnings may not be errors in themselves but might be indicative of other problems. |
static void |
warn(java.lang.Throwable message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Log()
| Method Detail |
|---|
public static void setupLogging()
public static void setupLoggingForCGI()
public static void debug(java.lang.Object message)
public static void info(java.lang.Object message)
public static void warn(java.lang.Object message)
public static void warn(java.lang.Throwable message)
public static void error(java.lang.Object message)
public static void error(java.lang.Throwable message)
public static void fatal(java.lang.Object message)
public static void fatal(java.lang.Throwable message)
public static void setName(java.lang.String name)
public static void push(java.lang.String contextName)
public static void pop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||