org.knopflerfish.service.log
public interface LogService extends LogService
LOG_ERRORLOG_WARNINGLOG_INFOLOG_DEBUGLOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING| Modifier and Type | Method and Description |
|---|---|
int |
getLogLevel()
Get the current log level.
|
log, log, log, logint getLogLevel()
LogService.LOG_WARNING then the log will discard all log
entries with level LogService.LOG_INFO and LogService.LOG_DEBUG. I.e. there
is no need for a bundle to try to send such log entries to the log.
The bundle may actually save a number of CPU-cycles by getting the
log level and do nothing if the intended log entry is less severe than
the current log level.