Interface LogLevel

All Known Implementing Classes:
Level

public interface LogLevel
This interface allows for custom defined logging levels.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static Map<String,​LogLevel>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.fusesource.jansi.Ansi
    apply​(org.fusesource.jansi.Ansi ansi)
     
     
    static void
    register​(LogLevel level)
     
  • Field Details

  • Method Details

    • register

      static void register(LogLevel level)
    • getName

      String getName()
      Returns:
      the name of the logging level.
    • apply

      org.fusesource.jansi.Ansi apply(org.fusesource.jansi.Ansi ansi)
      Parameters:
      ansi - the ansi instance to apply styling to, see Ansi.fg(Ansi.Color) or Ansi.fgBright(Ansi.Color).
      Returns:
      ansi instance with color updated.