Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept(Logger) - Method in interface org.osgi.service.log.LoggerConsumer
-
Perform this operation on the specified
Logger
. - addLogListener(LogListener) - Method in interface org.osgi.service.log.LogReaderService
-
Subscribes to
LogEntry
objects. - audit(String) - Method in interface org.osgi.service.log.Logger
-
Log a message at the
LogLevel.AUDIT
level. - audit(String, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.AUDIT
level. - audit(String, Object...) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.AUDIT
level. - audit(String, Object, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.AUDIT
level. - AUDIT - Enum constant in enum class org.osgi.service.log.LogLevel
-
Audit – Information that must always be logged.
C
- clear() - Method in interface org.osgi.service.log.admin.LoggerContext
-
Clear the configuration of this Logger Context.
D
- debug(String) - Method in interface org.osgi.service.log.Logger
-
Log a message at the
LogLevel.DEBUG
level. - debug(String, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.DEBUG
level. - debug(String, Object...) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.DEBUG
level. - debug(String, Object, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.DEBUG
level. - debug(LoggerConsumer<E>) - Method in interface org.osgi.service.log.Logger
-
Perform the specified operation if logging enabled for the
LogLevel.DEBUG
level. - DEBUG - Enum constant in enum class org.osgi.service.log.LogLevel
-
Debug – Detailed output for debugging operations.
E
- error(String) - Method in interface org.osgi.service.log.Logger
-
Log a message at the
LogLevel.ERROR
level. - error(String, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.ERROR
level. - error(String, Object...) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.ERROR
level. - error(String, Object, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.ERROR
level. - error(LoggerConsumer<E>) - Method in interface org.osgi.service.log.Logger
-
Perform the specified operation if logging enabled for the
LogLevel.ERROR
level. - ERROR - Enum constant in enum class org.osgi.service.log.LogLevel
-
Error – Information about an error situation.
F
- FormatterLogger - Interface in org.osgi.service.log
-
Provides methods for bundles to write messages to the log using printf-style format strings.
G
- getBundle() - Method in interface org.osgi.service.log.LogEntry
-
Returns the bundle that created this
LogEntry
object. - getEffectiveLogLevel(String) - Method in interface org.osgi.service.log.admin.LoggerContext
-
Returns the effective log level of the logger name in this Logger Context.
- getException() - Method in interface org.osgi.service.log.LogEntry
-
Returns the exception object associated with this
LogEntry
object. - getLevel() - Method in interface org.osgi.service.log.LogEntry
-
Deprecated.
- getLocation() - Method in interface org.osgi.service.log.LogEntry
-
Returns the location information of the creation of this
LogEntry
object. - getLog() - Method in interface org.osgi.service.log.LogReaderService
-
Returns an
Enumeration
of theLogEntry
objects in the log. - getLogger(Class<?>) - Method in interface org.osgi.service.log.LoggerFactory
-
Return the
Logger
named with the specified class. - getLogger(Class<?>, Class<L>) - Method in interface org.osgi.service.log.LoggerFactory
-
Return the
Logger
of the specified type named with the specified class. - getLogger(String) - Method in interface org.osgi.service.log.LoggerFactory
-
Return the
Logger
named with the specified name. - getLogger(String, Class<L>) - Method in interface org.osgi.service.log.LoggerFactory
-
Return the
Logger
of the specified type named with the specified name. - getLogger(Bundle, String, Class<L>) - Method in interface org.osgi.service.log.LoggerFactory
-
Return the
Logger
of the specified type named with the specified name for the specified bundle. - getLoggerContext(String) - Method in interface org.osgi.service.log.admin.LoggerAdmin
-
Get the Logger Context for the specified name.
- getLoggerName() - Method in interface org.osgi.service.log.LogEntry
-
Returns the name of the
Logger
object used to create thisLogEntry
object. - getLogLevel() - Method in interface org.osgi.service.log.LogEntry
-
Returns the level of this
LogEntry
object. - getLogLevels() - Method in interface org.osgi.service.log.admin.LoggerContext
-
Returns the configured log levels for this Logger Context.
- getMessage() - Method in interface org.osgi.service.log.LogEntry
-
Returns the formatted message associated with this
LogEntry
object. - getName() - Method in interface org.osgi.service.log.admin.LoggerContext
-
Returns the name for this Logger Context.
- getName() - Method in interface org.osgi.service.log.Logger
-
Return the name of this Logger.
- getSequence() - Method in interface org.osgi.service.log.LogEntry
-
Returns the sequence number for this
LogEntry
object. - getServiceReference() - Method in interface org.osgi.service.log.LogEntry
-
Returns the
ServiceReference
object for the service associated with thisLogEntry
object. - getThreadInfo() - Method in interface org.osgi.service.log.LogEntry
-
Returns a string representing the thread which created this
LogEntry
object. - getTime() - Method in interface org.osgi.service.log.LogEntry
-
Returns the value of
currentTimeMillis()
at the time thisLogEntry
object was created.
I
- implies(LogLevel) - Method in enum class org.osgi.service.log.LogLevel
-
Returns whether this log level implies the specified log level.
- info(String) - Method in interface org.osgi.service.log.Logger
-
Log a message at the
LogLevel.INFO
level. - info(String, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.INFO
level. - info(String, Object...) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.INFO
level. - info(String, Object, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.INFO
level. - info(LoggerConsumer<E>) - Method in interface org.osgi.service.log.Logger
-
Perform the specified operation if logging enabled for the
LogLevel.INFO
level. - INFO - Enum constant in enum class org.osgi.service.log.LogLevel
-
Info – Information about normal operation.
- isDebugEnabled() - Method in interface org.osgi.service.log.Logger
-
Is logging enabled for the
LogLevel.DEBUG
level? - isEmpty() - Method in interface org.osgi.service.log.admin.LoggerContext
-
Returns whether the configuration of this Logger Context is empty.
- isErrorEnabled() - Method in interface org.osgi.service.log.Logger
-
Is logging enabled for the
LogLevel.ERROR
level? - isInfoEnabled() - Method in interface org.osgi.service.log.Logger
-
Is logging enabled for the
LogLevel.INFO
level? - isTraceEnabled() - Method in interface org.osgi.service.log.Logger
-
Is logging enabled for the
LogLevel.TRACE
level? - isWarnEnabled() - Method in interface org.osgi.service.log.Logger
-
Is logging enabled for the
LogLevel.WARN
level?
L
- log(int, String) - Method in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
Logger
. SeeLoggerFactory
. - log(int, String, Throwable) - Method in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
Logger
. SeeLoggerFactory
. - log(ServiceReference<?>, int, String) - Method in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
Logger
. SeeLoggerFactory
. - log(ServiceReference<?>, int, String, Throwable) - Method in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
Logger
. SeeLoggerFactory
. - LOG_DEBUG - Static variable in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
LogLevel.DEBUG
. - LOG_ERROR - Static variable in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
LogLevel.ERROR
. - LOG_INFO - Static variable in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
LogLevel.INFO
. - LOG_SERVICE_ID - Static variable in interface org.osgi.service.log.admin.LoggerAdmin
-
Logger Admin service property to associate the Logger Admin service with a
LoggerFactory
service. - LOG_WARNING - Static variable in interface org.osgi.service.log.LogService
-
Deprecated.Since 1.4. Replaced by
LogLevel.WARN
. - LogEntry - Interface in org.osgi.service.log
-
Provides methods to access the information contained in an individual Log Service log entry.
- logged(LogEntry) - Method in interface org.osgi.service.log.LogListener
-
Listener method called for each LogEntry object created.
- Logger - Interface in org.osgi.service.log
-
Provides methods for bundles to write messages to the log using SLF4J-style format strings.
- LOGGER_CONTEXT_DEFAULT_LOGLEVEL - Static variable in interface org.osgi.service.log.admin.LoggerContext
-
Framework launching property specifying the default log level of the root Logger Context.
- LOGGER_CONTEXT_PID - Static variable in interface org.osgi.service.log.admin.LoggerContext
-
Logger Context PID.
- LoggerAdmin - Interface in org.osgi.service.log.admin
-
LoggerAdmin service for configuring loggers.
- LoggerConsumer<E extends Exception> - Interface in org.osgi.service.log
-
An operation that accepts a
Logger
argument and produces no result. - LoggerContext - Interface in org.osgi.service.log.admin
-
Logger Context for a bundle.
- LoggerFactory - Interface in org.osgi.service.log
-
Logger Factory service for logging information.
- LogLevel - Enum Class in org.osgi.service.log
-
Log Levels.
- LogLevel() - Constructor for enum class org.osgi.service.log.LogLevel
- LogListener - Interface in org.osgi.service.log
-
Subscribes to
LogEntry
objects from theLogReaderService
. - LogReaderService - Interface in org.osgi.service.log
-
LogReaderService for obtaining logging information.
- LogService - Interface in org.osgi.service.log
-
LogService for logging information.
O
- org.osgi.service.log - package org.osgi.service.log
-
Log Service Package Version 1.5.
- org.osgi.service.log.admin - package org.osgi.service.log.admin
-
Log Admin Package Version 1.0.
R
- removeLogListener(LogListener) - Method in interface org.osgi.service.log.LogReaderService
-
Unsubscribes to
LogEntry
objects. - ROOT_LOGGER_NAME - Static variable in interface org.osgi.service.log.Logger
-
Root Logger Name.
S
- setLogLevels(Map<String, LogLevel>) - Method in interface org.osgi.service.log.admin.LoggerContext
-
Configure the log levels for this Logger Context.
T
- trace(String) - Method in interface org.osgi.service.log.Logger
-
Log a message at the
LogLevel.TRACE
level. - trace(String, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.TRACE
level. - trace(String, Object...) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.TRACE
level. - trace(String, Object, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.TRACE
level. - trace(LoggerConsumer<E>) - Method in interface org.osgi.service.log.Logger
-
Perform the specified operation if logging enabled for the
LogLevel.TRACE
level. - TRACE - Enum constant in enum class org.osgi.service.log.LogLevel
-
Trace level – Large volume of output for tracing operations.
V
- valueOf(String) - Static method in enum class org.osgi.service.log.LogLevel
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.osgi.service.log.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Method in interface org.osgi.service.log.Logger
-
Log a message at the
LogLevel.WARN
level. - warn(String, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.WARN
level. - warn(String, Object...) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.WARN
level. - warn(String, Object, Object) - Method in interface org.osgi.service.log.Logger
-
Log a formatted message at the
LogLevel.WARN
level. - warn(LoggerConsumer<E>) - Method in interface org.osgi.service.log.Logger
-
Perform the specified operation if logging enabled for the
LogLevel.WARN
level. - WARN - Enum constant in enum class org.osgi.service.log.LogLevel
-
Warning – Information about a failure or unwanted situation that is not blocking.
All Classes and Interfaces|All Packages|Constant Field Values
LogEntry.getLogLevel()
.