Class LogManager


  • public final class LogManager
    extends Object
    The LogManager is used to get an instance of the Logger implementation class. If the system property com.sun.identity.plugin.log.class is set, this class will be used as log provider instead of the default implementation.
    • Constructor Detail

      • LogManager

        public LogManager()
    • Method Detail

      • getLogger

        public static Logger getLogger​(String componentName)
                                throws LogException
        Returns an instance of the Logger object.
        Parameters:
        componentName - name of the component .
        Returns:
        instance of Logger object.
        Throws:
        LogException - if there is an error.