|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmarquee.xmlrpc.util.Log
A simple logging service that may be backed up with various storage devices and other types of logging devices (like the console or a socket).
| Nested Class Summary | |
static class |
Log.DefaultLogBackEnd
The default back end sends information to the console. |
| Constructor Summary | |
Log()
|
|
| Method Summary | |
static void |
addBackEnd(LogBackEnd backEnd)
Adds a LogBackEnd to the log. |
static void |
append(java.lang.String type,
java.lang.String message)
Appends a message to all currently registered back ends. |
static void |
append(java.lang.String type,
java.lang.Throwable t)
Appends an exception to the log back ends by converting it to a string. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Log()
| Method Detail |
public static void addBackEnd(LogBackEnd backEnd)
backEnd - The back end to register. If this is the first call, this will replace
the default back end.
public static void append(java.lang.String type,
java.lang.String message)
type - Some string indicating the message type. Application specific.message - The log message.
public static void append(java.lang.String type,
java.lang.Throwable t)
type - Type of message. Application specific.t - The exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||