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 libraryThis 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 Deprecated Methods Modifier and Type Method Description 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.Level
getLevelLimit()
Deprecated, for removal: This API element is subject to removal in a future version.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.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?
-
-
-
Method Detail
-
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.
-
-