Package com.yahoo.log

Interface LevelController


  • public interface LevelController
    This is the interface for controlling the log level of a component logger. This hides the actual controlling mechanism.
    Author:
    arnej27959
    • Method Detail

      • shouldLog

        boolean shouldLog​(Level level)
        should we actually publish a log message with the given Level now?
      • getOnOffString

        String getOnOffString()
        return a string suitable for printing in a logctl file. the string must be be 4 * 8 characters, where each group of 4 characters is either " ON" or " OFF".
      • checkBack

        void checkBack()
        check the current state of logging and reflect it into the associated Logger instance, if available.
      • getLevelLimit

        Level getLevelLimit()