| Package | Description |
|---|---|
| org.osgi.service.log |
Log Service Package Version 1.5.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
FormatterLogger
Provides methods for bundles to write messages to the log using printf-style
format strings.
|
| Modifier and Type | Method and Description |
|---|---|
<L extends Logger> |
LoggerFactory.getLogger(Bundle bundle,
java.lang.String name,
java.lang.Class<L> loggerType)
Return the
Logger of the specified type named with the specified
name for the specified bundle. |
<L extends Logger> |
LoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.Class<L> loggerType)
Return the
Logger of the specified type named with the specified
class. |
<L extends Logger> |
LoggerFactory.getLogger(java.lang.String name,
java.lang.Class<L> loggerType)
Return the
Logger of the specified type named with the specified
name. |
| Modifier and Type | Method and Description |
|---|---|
Logger |
LoggerFactory.getLogger(java.lang.Class<?> clazz)
Return the
Logger named with the specified class. |
Logger |
LoggerFactory.getLogger(java.lang.String name)
Return the
Logger named with the specified name. |
| Modifier and Type | Method and Description |
|---|---|
void |
LoggerConsumer.accept(Logger l)
Perform this operation on the specified
Logger. |
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0