|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pelzer.util.Logging
public final class Logging
The Logging system is used to output informational and logging messages to the console. Uses the java.util.logging system.
| Nested Class Summary | |
|---|---|
static class |
Logging.LogFormatter
|
static class |
Logging.Logger
Wrapper class around our logging... |
static class |
Logging.Priority
This class has been added to wrap the older Log4j-style priorities into the SDK-style Levels. |
| Method Summary | |
|---|---|
static Logging.Logger |
getLogger(Class<?> loggedClass)
Convenience method, same as doing getLogger(loggedClass.getName()) |
static Logging.Logger |
getLogger(Object loggedObject)
Convenience method, same as doing getLogger(loggedObject.getClass().getName()) |
static Logging.Logger |
getLogger(String node)
This is the new, official way to get a logger from the Logging system. |
static boolean |
isMuted()
|
static void |
mute()
Turns off all debugging until unmute() is called or the system
shuts down. |
static void |
unmute()
Turns logging back on after calling mute() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Logging.Logger getLogger(String node)
public static Logging.Logger getLogger(Class<?> loggedClass)
getLogger(loggedClass.getName())
public static Logging.Logger getLogger(Object loggedObject)
getLogger(loggedObject.getClass().getName())
public static void mute()
unmute() is called or the system
shuts down.
public static void unmute()
mute()
public static boolean isMuted()
mute(),
unmute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||