Package | Description |
---|---|
org.osgi.service.log |
Log Service Package Version 1.5.
|
org.osgi.service.log.admin |
Log Admin Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
LogLevel |
LogEntry.getLogLevel()
Returns the level of this
LogEntry object. |
static LogLevel |
LogLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LogLevel.implies(LogLevel other)
Returns whether this log level implies the specified log level.
|
Modifier and Type | Method and Description |
---|---|
LogLevel |
LoggerContext.getEffectiveLogLevel(java.lang.String name)
Returns the effective log level of the logger name in this Logger
Context.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,LogLevel> |
LoggerContext.getLogLevels()
Returns the configured log levels for this Logger Context.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggerContext.setLogLevels(java.util.Map<java.lang.String,LogLevel> logLevels)
Configure the log levels for this Logger Context.
|
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0