public final class ReactorLogOsgiOptional
Provides support for logging to an optional OSGi logging service.
Availability of a suitable OSGi logging bundle is checked on startup and if
present this will be used for the entire lifecycle of the Reaction bundle. A
fallback logging target may be specified on startup which will be used if a
suitable OSGi service is not available.
Gets the runtime message logger which is associated with the specified
logger ID. If a message logger for the specified logger ID already exists
this will be returned to the caller. If no message logger for the specified
logger ID currently exists a new logger object will be created and
loggerId - This is the logger ID which is associated with the requested
message logger. This is a String value which will normally hold
the canonical name of the client class which is using the logger.
loggerResources - This is the name of a ResourceBundle which is to be used for
localising messages for this logger. May be null if none of the
messages require localisation.
Returns a logger object which may be used for logging runtime
java.util.MissingResourceException - This exception will be thrown if a set of logger resources have
been specified but cannot be found.