Skip navigation links
A B C D E F G H I L O P R S T W 

A

AbstractLoggerFacade<T extends LoggerFacade> - Class in de.mnl.osgi.lf4osgi.core
A base class for logger facades.
AbstractLoggerFacade(LoggerGroup, String) - Constructor for class de.mnl.osgi.lf4osgi.core.AbstractLoggerFacade
Instantiates a new logger facade.
addEvent(BufferedEvent) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
Adds the event, removing the oldest event if the buffer sise is reached.
audit(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
audit(String, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
audit(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
audit(String, Object...) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
audit(String) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
audit(String, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
audit(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
audit(String, Object...) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 

B

BUFFER_SIZE_PROPERTY - Static variable in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
BufferedEvent - Class in de.mnl.osgi.lf4osgi.core
Provides a container for the buffered event information.
BufferedEvent(Bundle, String, LogLevel, String, Object...) - Constructor for class de.mnl.osgi.lf4osgi.core.BufferedEvent
Instantiates a new buffered event.
BufferedEvent(Bundle, String, LogLevel, String) - Constructor for class de.mnl.osgi.lf4osgi.core.BufferedEvent
Instantiates a new buffered event.
BufferingLogger - Class in de.mnl.osgi.lf4osgi.core
A logger that logs to a buffer.
BufferingLogger(BufferingLoggerFactory, Bundle, String) - Constructor for class de.mnl.osgi.lf4osgi.core.BufferingLogger
Instantiates a new buffering logger with the given factory, bundle and provided factory.
BufferingLoggerFactory - Class in de.mnl.osgi.lf4osgi.core
A factory for creating BufferingLoggers.
BufferingLoggerFactory() - Constructor for class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
Instantiates a new buffering logger factory with an event buffer with given size, buffering only events with at least the given threshold.

C

computeIfAbsent(String, BiFunction<LoggerGroup, String, T>) - Method in class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Gets the logger with the specified name.
computeIfAbsent(String) - Method in class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Gets the logger with the specified name.If it is not already in this group, create it using the default supplier.
configure() - Method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 
contextOperation(Consumer<BundleContext>) - Static method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
Execute an operation that depends on the availability of the bundle context.

D

de.mnl.osgi.lf4osgi - package de.mnl.osgi.lf4osgi
A bundle that provides a logging facade for the standard OSGI Logger.
de.mnl.osgi.lf4osgi.core - package de.mnl.osgi.lf4osgi.core
The classes that implement the logger facade for OSGi.
debug(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
debug(String, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
debug(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
debug(String, Object...) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
debug(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
debug(String) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(String, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(String, Object...) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(Supplier<String>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(Supplier<String>, Throwable) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
debug(Supplier<String>) - Method in interface de.mnl.osgi.lf4osgi.Logger
If debug level is enabled, get the message from the supplier and log it.
debug(Supplier<String>, Throwable) - Method in interface de.mnl.osgi.lf4osgi.Logger
If debug level is enabled, get the message from the supplier and log it together withe the provided throwable.
DefaultLoggerGroup<T> - Class in de.mnl.osgi.lf4osgi.core
A simple cache for loggers used by a bundle.
DefaultLoggerGroup(Bundle, BiFunction<LoggerGroup, String, T>) - Constructor for class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Instantiates a new bundle group.

E

error(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
error(String, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
error(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
error(String, Object...) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
error(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
error(String) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(String, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(String, Object...) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(Supplier<String>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(Supplier<String>, Throwable) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
error(Supplier<String>) - Method in interface de.mnl.osgi.lf4osgi.Logger
If error level is enabled, get the message from the supplier and log it.
error(Supplier<String>, Throwable) - Method in interface de.mnl.osgi.lf4osgi.Logger
If error level is enabled, get the message from the supplier and log it together withe the provided throwable.

F

findBundle(String) - Static method in class de.mnl.osgi.lf4osgi.core.LoggerCatalogue
Find the bundle that contains the class that wants to get a logger, using the current call stack.
flush(LoggerFactory) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
Forward all buffered events.
forward(LoggerFactory) - Method in class de.mnl.osgi.lf4osgi.core.BufferedEvent
Forward the log event using the provided logger factory.

G

getBundle() - Method in class de.mnl.osgi.lf4osgi.core.AbstractLoggerFacade
Gets the bundle.
getBundle() - Method in class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Returns the bundle that this group is associated with.
getBundle() - Method in interface de.mnl.osgi.lf4osgi.core.LoggerGroup
Returns the bundle that this group is associated with.
getLogger(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
getLogger(Class<?>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
getLogger(String, Class<L>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
getLogger(Class<?>, Class<L>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
getLogger(Bundle, String, Class<L>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
getLogger(String) - Static method in class de.mnl.osgi.lf4osgi.LoggerFactory
Gets a logger with the given name.
getLogger(Class<?>) - Static method in class de.mnl.osgi.lf4osgi.LoggerFactory
Gets a logger, using the class name as name for the logger.
getLogger(Bundle, String) - Static method in class de.mnl.osgi.lf4osgi.LoggerFactory
Gets a logger with the given name for the given bundle.
getLogger(Bundle, Class<?>) - Static method in class de.mnl.osgi.lf4osgi.LoggerFactory
Gets a logger with the given class' name for the given bundle.
getLoggerGoup(Bundle) - Method in class de.mnl.osgi.lf4osgi.core.LoggerCatalogue
Returns the logger group for the given bundle.
getName() - Method in class de.mnl.osgi.lf4osgi.core.AbstractLoggerFacade
Gets the name.
getName() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 

H

hasLogger(String) - Method in class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Checks if the logger with the provided name already exists.

I

info(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
info(String, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
info(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
info(String, Object...) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
info(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
info(String) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(String, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(String, Object...) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(Supplier<String>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(Supplier<String>, Throwable) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
info(Supplier<String>) - Method in interface de.mnl.osgi.lf4osgi.Logger
If info level is enabled, get the message from the supplier and log it.
info(Supplier<String>, Throwable) - Method in interface de.mnl.osgi.lf4osgi.Logger
If info level is enabled, get the message from the supplier and log it together withe the provided throwable.
isDebugEnabled() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
isDebugEnabled() - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
isErrorEnabled() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
isErrorEnabled() - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
isInfoEnabled() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
isInfoEnabled() - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
isTraceEnabled() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
isTraceEnabled() - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
isWarnEnabled() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
isWarnEnabled() - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 

L

Lf4OsgiLogger - Class in de.mnl.osgi.lf4osgi
The implementation of the facade for OSGi loggers.
Lf4OsgiLogger(LoggerGroup, String) - Constructor for class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
Instantiates a new logger for the given bundle with the provided name.
LOG_THRESHOLD_PROPERTY - Static variable in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
logger(String) - Method in class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Gets the logger if it exists.
Logger - Interface in de.mnl.osgi.lf4osgi
An extended OSGi Logger interface.
LoggerCatalogue<T> - Class in de.mnl.osgi.lf4osgi.core
A manager for groups of loggers associated with a bundle.
LoggerCatalogue(Function<Bundle, T>) - Constructor for class de.mnl.osgi.lf4osgi.core.LoggerCatalogue
Instantiates a new logger catalogue.
LoggerFacade - Interface in de.mnl.osgi.lf4osgi.core
The interface that must be implemented by logger facades.
LoggerFacadeManager - Class in de.mnl.osgi.lf4osgi.core
Tracks the availability of an OSGi LoggerFactory service and keeps the logger facades up-to-date.
LoggerFacadeManager() - Constructor for class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 
LoggerFactory - Class in de.mnl.osgi.lf4osgi
The factory that supplies the OSGi Loggers from static methods.
LoggerFactory() - Constructor for class de.mnl.osgi.lf4osgi.LoggerFactory
 
loggerFactoryUpdated(LoggerFactory) - Method in class de.mnl.osgi.lf4osgi.core.AbstractLoggerFacade
Called when the logger factory changes.
loggerFactoryUpdated(LoggerFactory) - Method in interface de.mnl.osgi.lf4osgi.core.LoggerFacade
Called when the logger factory changes.
loggerFactoryUpdated(LoggerFactory) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
LoggerGroup - Interface in de.mnl.osgi.lf4osgi.core
A group of loggers created by the classes from a common bundle.

O

onDissolving() - Method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 
onRebound(String) - Method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 
onResolved() - Method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 

P

putIfAbsent(String, T) - Method in class de.mnl.osgi.lf4osgi.core.DefaultLoggerGroup
Put the logger in the group if it isn't already known.

R

registerFacade(LoggerFacade) - Static method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
Register the given facade for receiving updates when the logger factory changes.

S

setBufferSize(int) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
Sets the buffer size.
setThreshold(LogLevel) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
Sets the threshold.
start(BundleContext) - Method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 
stop(BundleContext) - Method in class de.mnl.osgi.lf4osgi.core.LoggerFacadeManager
 

T

threshold() - Method in class de.mnl.osgi.lf4osgi.core.BufferingLoggerFactory
 
trace(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
trace(String, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
trace(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
trace(String, Object...) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
trace(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
trace(String) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(String, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(String, Object...) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(Supplier<String>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(Supplier<String>, Throwable) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
trace(Supplier<String>) - Method in interface de.mnl.osgi.lf4osgi.Logger
If trace level is enabled, get the message from the supplier and log it.
trace(Supplier<String>, Throwable) - Method in interface de.mnl.osgi.lf4osgi.Logger
If trace level is enabled, get the message from the supplier and log it together withe the provided throwable.

W

warn(String) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
warn(String, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
warn(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
warn(String, Object...) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
warn(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.core.BufferingLogger
 
warn(String) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(String, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(String, Object, Object) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(String, Object...) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(Supplier<String>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(LoggerConsumer<E>) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(Supplier<String>, Throwable) - Method in class de.mnl.osgi.lf4osgi.Lf4OsgiLogger
 
warn(Supplier<String>) - Method in interface de.mnl.osgi.lf4osgi.Logger
If warn level is enabled, get the message from the supplier and log it.
warn(Supplier<String>, Throwable) - Method in interface de.mnl.osgi.lf4osgi.Logger
If warn level is enabled, get the message from the supplier and log it together withe the provided throwable.
A B C D E F G H I L O P R S T W 
Skip navigation links