Interface LogLevel
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CustomLevel
Define a custom extended LogLevel which should always extend
Level, but provide some
additional fields and functionality.-
Method Summary
Modifier and TypeMethodDescriptionGet the formatting this Log Level should be displayed withGet the name of this Log Level.intGet the priority of this Log Level
-
Method Details
-
getLevelName
String getLevelName()Get the name of this Log Level.- Returns:
- The Name of this Custom Log Level
-
getPriority
int getPriority()Get the priority of this Log Level- Returns:
- The priority of this Log Level
-
getLevelFormat
String getLevelFormat()Get the formatting this Log Level should be displayed with- Returns:
- The escape codes required to display log messages at this Log Level.
-