All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomLevel

public interface LogLevel extends Serializable
Define a custom extended LogLevel which should always extend Level, but provide some additional fields and functionality.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the formatting this Log Level should be displayed with
    Get the name of this Log Level.
    int
    Get 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.