Package com.yahoo.log

Interface LevelController


@Deprecated(since="7", forRemoval=true) public interface LevelController
Deprecated, for removal: This API element is subject to removal in a future version.
Should only be used internally in the log library
This is the interface for controlling the log level of a component logger. This hides the actual controlling mechanism.
Author:
arnej27959
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    check the current state of logging and reflect it into the associated Logger instance, if available.
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    return a string suitable for printing in a logctl file.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    should we actually publish a log message with the given Level now?
  • Method Details

    • shouldLog

      boolean shouldLog(Level level)
      Deprecated, for removal: This API element is subject to removal in a future version.
      should we actually publish a log message with the given Level now?
    • getOnOffString

      String getOnOffString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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()
      Deprecated, for removal: This API element is subject to removal in a future version.
      check the current state of logging and reflect it into the associated Logger instance, if available.
    • getLevelLimit

      Level getLevelLimit()
      Deprecated, for removal: This API element is subject to removal in a future version.