|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Logger
java.util.logging.LogManager.RootLogger
| Field Summary |
| Fields inherited from class java.util.logging.Logger |
global |
| Constructor Summary | |
private |
LogManager.RootLogger()
|
| Method Summary | |
void |
addHandler(Handler h)
Add a log Handler to receive logging messages. |
Handler[] |
getHandlers()
Get the Handlers associated with this logger. |
void |
log(LogRecord record)
Log a LogRecord. |
void |
removeHandler(Handler h)
Remove a log Handler. |
| Methods inherited from class java.util.logging.Logger |
config, entering, entering, entering, exiting, exiting, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getLevel, getLogger, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, isLoggable, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, 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 |
private LogManager.RootLogger()
| Method Detail |
public void log(LogRecord record)
LoggerAll the other logging methods in this class call through this method to actually perform any logging. Subclasses can override this single method to capture all log activity.
log in class Loggerrecord - the LogRecord to be publishedpublic void addHandler(Handler h)
LoggerBy default, Loggers also send their output to their parent logger. Typically the root Logger is configured with a set of Handlers that essentially act as default handlers for all loggers.
addHandler in class Loggerh - a logging Handlerpublic void removeHandler(Handler h)
LoggerReturns silently if the given Handler is not found.
removeHandler in class Loggerh - a logging Handlerpublic Handler[] getHandlers()
Logger
getHandlers in class Logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||