Package | Description |
---|---|
com.aldebaran.qi.log |
Modifier and Type | Class and Description |
---|---|
class |
DefaultLogCatcher
Default log catcher, that publish log in standard stream
|
Modifier and Type | Method and Description |
---|---|
static void |
LogReport.register(LogCatcher logCatcher,
LogLevel... logLevels)
Register a
LogCatcher for specified log levels.
For LogLevel.SILENT nothing is register, since its means no log
report. |
static void |
LogReport.registerAtLeast(LogCatcher logCatcher,
LogLevel logLevel)
Register
LogCatcher for given logLevel and all more important
that given one.
Importance log level from more important to less is:
LogLevel.FATAL
LogLevel.ERROR
LogLevel.WARNING
LogLevel.INFORMATION
LogLevel.VERBOSE
LogLevel.DEBUG
Note that LogLevel.SILENT is a special level for no log at all |
static void |
LogReport.unregister(LogCatcher logCatcher,
LogLevel... logLevels)
Unregister a
LogCatcher for specified log levels. |
static void |
LogReport.unregisterAll(LogCatcher logCatcher)
Unregister all log level that a given
LogCatcher is registered
for |
static void |
LogReport.unregisterAtMost(LogCatcher logCatcher,
LogLevel logLevel)
Register
LogCatcher for given logLevel and all less important
that given one.
Importance log level from more important to less is:
LogLevel.FATAL
LogLevel.ERROR
LogLevel.WARNING
LogLevel.INFORMATION
LogLevel.VERBOSE
LogLevel.DEBUG
Note that LogLevel.SILENT is a special level for no log at all |
Copyright © 2020. All rights reserved.