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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkBack()
check the current state of logging and reflect it into the associated Logger instance, if available.java.util.logging.Level
getLevelLimit()
java.lang.String
getOnOffString()
return a string suitable for printing in a logctl file.boolean
shouldLog(java.util.logging.Level level)
should we actually publish a log message with the given Level now?
-
-
-
Method Detail
-
shouldLog
boolean shouldLog(java.util.logging.Level level)
should we actually publish a log message with the given Level now?
-
getOnOffString
java.lang.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
java.util.logging.Level getLevelLimit()
-
-