Convert extension

Convert extension on LogLevel

on

Methods

getColorPen() → AnsiPen

Available on LogLevel, provided by the Convert extension

  • Info: Get ANSI XTERM-256 color from log type.
  • Params: this
  • Returns: AnsiPen.
  • Notes: https://www.ditig.com/256-colors-cheat-sheet
  • getPriorityTypeFromInt(int value) LogLevel

    Available on LogLevel, provided by the Convert extension

  • Info:Get enum with int id.
  • Params: value is id of enum.
  • Returns: Loglevel.
  • Notes:
  • getPriorityTypeFromString(String value) LogLevel

    Available on LogLevel, provided by the Convert extension

  • Info:Get enum type from String.
  • Params: value is name of enum.
  • Returns: Loglevel.
  • Notes:
  • getStringFromPriorityType() String

    Available on LogLevel, provided by the Convert extension

  • Info:Get name from LogLevel enum.
  • Params: this
  • Returns: String.
  • Notes: