Class LogServiceSupport


  • class LogServiceSupport
    extends java.lang.Object
    This is a logger based on the LogService. It supports both R6 and R7 logging
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.osgi.framework.Bundle bundle  
      private org.osgi.service.log.LogService logService  
      private boolean r7Enabled  
    • Constructor Summary

      Constructors 
      Constructor Description
      LogServiceSupport​(org.osgi.framework.Bundle bundle, java.lang.Object logService)  
    • Field Detail

      • r7Enabled

        private final boolean r7Enabled
      • logService

        private final org.osgi.service.log.LogService logService
      • bundle

        private final org.osgi.framework.Bundle bundle
    • Constructor Detail

      • LogServiceSupport

        public LogServiceSupport​(org.osgi.framework.Bundle bundle,
                                 java.lang.Object logService)
    • Method Detail

      • checkForLoggerFactory

        private static boolean checkForLoggerFactory​(java.lang.Class<?> clazz)