Package | Description |
---|---|
org.osgi.service.log |
Log Service Package Version 1.4.
|
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(org.osgi.framework.Bundle bundle,
String name,
Class<L> loggerType)
Return the
Logger of the specified type named with the specified
name for the specified bundle. |
<L extends Logger> |
LoggerFactory.getLogger(Class<?> clazz,
Class<L> loggerType)
Return the
Logger of the specified type named with the specified
class. |
<L extends Logger> |
LoggerFactory.getLogger(String name,
Class<L> loggerType)
Return the
Logger of the specified type named with the specified
name. |
Modifier and Type | Method and Description |
---|---|
Logger |
LoggerFactory.getLogger(Class<?> clazz)
Return the
Logger named with the specified class. |
Logger |
LoggerFactory.getLogger(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 © 2022 OSGi Alliance. All rights reserved.