|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Logger com.cosylab.logging.DebugLogger
public class DebugLogger
DebugLogger
is wrapper around Logger
class, which
produces logger with preset arbitrary logging level and handler
ConsoleLogHandler
.
Field Summary |
---|
Fields inherited from class java.util.logging.Logger |
---|
global, GLOBAL_LOGGER_NAME |
Constructor Summary | |
---|---|
protected |
DebugLogger(java.lang.String name,
java.lang.String resourceBundleName)
|
Method Summary | |
---|---|
static java.util.logging.Logger |
getLogger(java.lang.String name,
java.util.logging.Level level)
Returns logger with specified name and initial logging level. |
static void |
main(java.lang.String[] args)
DOCUMENT ME! |
Methods inherited from class java.util.logging.Logger |
---|
addHandler, config, entering, entering, entering, exiting, exiting, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getHandlers, getLevel, getLogger, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, isLoggable, log, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, removeHandler, setFilter, setLevel, setParent, setUseParentHandlers, severe, throwing, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DebugLogger(java.lang.String name, java.lang.String resourceBundleName)
Method Detail |
---|
public static java.util.logging.Logger getLogger(java.lang.String name, java.util.logging.Level level)
NullLogger
is return, which
statically sends all logs to dev/null.
name
- a name for the loggerlevel
- initial level of logger
NullLogger
if level is OFFLogger.getLogger(java.lang.String)
public static void main(java.lang.String[] args)
args
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |