Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogLevel

name

LogLevel

Hierarchy

  • LogLevel

Index

Constructors

constructor

  • new LogLevel(_name: string, _paddedName: string, _value: number): LogLevel
  • Parameters

    • _name: string
    • _paddedName: string
    • _value: number

    Returns LogLevel

Properties

Static Readonly CONFIG

CONFIG: LogLevel = new LogLevel("CONFIG", "CONFIG", 1)

Used for messages about StreamLink's configuration.

Static Readonly CRITICAL

CRITICAL: LogLevel = new LogLevel("CRITICAL", "CRITICAL", 2)

Used for messages indicating a serious failure.

Static Readonly ERROR

ERROR: LogLevel = new LogLevel("ERROR", "ERROR ", 3)

Used for messages which indicate a problem.

Static Readonly FINE

FINE: LogLevel = new LogLevel("FINE", "FINE ", 7)

Used for tracing messages.

Static Readonly FINER

FINER: LogLevel = new LogLevel("FINER", "FINER ", 8)

Used for fairly detailed tracing messages.

Static Readonly FINEST

FINEST: LogLevel = new LogLevel("FINEST", "FINEST", 9)

Used for the most finely detailed tracing messages.

Static Readonly INFO

INFO: LogLevel = new LogLevel("INFO", "INFO ", 6)

Used for information messages.

Static Readonly NOTIFY

NOTIFY: LogLevel = new LogLevel("NOTIFY", "NOTIFY", 5)

Used for messages of more importance than INFO but may not indicate problems.

Static Readonly WARN

WARN: LogLevel = new LogLevel("WARN", "WARN ", 4)

Used for messages which indicate a potential problem.

Methods

getPaddedName

  • getPaddedName(): string
  • Returns string

getValue

  • getValue(): number
  • Returns number

toString

  • toString(): string
  • Returns string

Static values

Generated using TypeDoc