Class DefaultServiceLog

  • All Implemented Interfaces:
    PaxLogger, org.osgi.service.log.FormatterLogger, org.osgi.service.log.Logger
    Direct Known Subclasses:
    FileServiceLog

    public class DefaultServiceLog
    extends Object
    implements PaxLogger
    This Logger will be used when the Pax Logging Service is not (yet) available. Default threshold is DEBUG but can be changed if the PaxLoggingConstants.LOGGING_CFG_DEFAULT_LOG_LEVEL system or context property is set to on of the following: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, or NONE, by calling the static method setLogLevel(String), where threshold is one of the same strings. Since R7, This logger always uses Slf4J kind of formatting.