Interface PaxLoggingManagerAwareLogger

    • Method Detail

      • setPaxLoggingManager

        void setPaxLoggingManager​(PaxLoggingManager manager)
        Configures a PaxLoggingManager that from now on can be used to obtain a non-fallback logger that given logger is delegating to. This method is called in activator of pax-logging-api to ensure that loggers that may already been created from pax-logging adjusted facades/factories actually delegate to real PaxLoggingService. This is especially visible in pax-exam tests, where pax-logging-api's SLF4J classes are already used by pax-exam itself before even starting OSGi framework.