Interface LoggerManager

    • Field Detail

      • ROLE

        static final java.lang.String ROLE
    • Method Detail

      • setThreshold

        void setThreshold​(int threshold)
        Sets the threshold for all new loggers. It will NOT affect the existing loggers. This is usually only set once while the logger manager is configured.
        Parameters:
        threshold - The new threshold.
      • getThreshold

        int getThreshold()
        Returns the current threshold for all new loggers.
        Returns:
        Returns the current threshold for all new loggers.
      • setThresholds

        void setThresholds​(int threshold)
        Sets the threshold for all loggers. It affects all the existing loggers as well as future loggers.
        Parameters:
        threshold - The new threshold.
      • setThreshold

        void setThreshold​(java.lang.String role,
                          int threshold)
      • setThreshold

        void setThreshold​(java.lang.String role,
                          java.lang.String roleHint,
                          int threshold)
      • getThreshold

        int getThreshold​(java.lang.String role)
      • getThreshold

        int getThreshold​(java.lang.String role,
                         java.lang.String roleHint)
      • getLoggerForComponent

        Logger getLoggerForComponent​(java.lang.String role)
      • getLoggerForComponent

        Logger getLoggerForComponent​(java.lang.String role,
                                     java.lang.String roleHint)
      • returnComponentLogger

        void returnComponentLogger​(java.lang.String role)
      • returnComponentLogger

        void returnComponentLogger​(java.lang.String role,
                                   java.lang.String hint)
      • getActiveLoggerCount

        int getActiveLoggerCount()