Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogLevelConverter

Helper class to convert log level values.

see

LogLevel

Hierarchy

  • LogLevelConverter

Index

Methods

Static toInteger

Static toLogLevel

  • Converts numbers and strings to standard log level values.

    Parameters

    • value: any

      a value to be converted

    • Default value defaultValue: LogLevel = LogLevel.Info

      a default value if conversion is not possible

    Returns LogLevel

    converted log level

Static toString

Generated using TypeDoc