Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LogLevel

Hierarchy

  • LogLevel

Index

Constructors

Protected constructor

  • new LogLevel(name: string, severity: number): LogLevel

Properties

Readonly name

name: string

Readonly severity

severity: number

Static ALERT

ALERT: LogLevel = LogLevel.register(new LogLevel('alert', 700))

Static CRITICAL

CRITICAL: LogLevel = LogLevel.register(new LogLevel('critical', 600))

Static DEBUG

DEBUG: LogLevel = LogLevel.register(new LogLevel('debug', 100))

Static EMERGENCY

EMERGENCY: LogLevel = LogLevel.register(new LogLevel('emergency', 800))

Static ERROR

ERROR: LogLevel = LogLevel.register(new LogLevel('error', 500))

Static INFO

INFO: LogLevel = LogLevel.register(new LogLevel('info', 200))

Static LOG

LOG: LogLevel = LogLevel.register(new LogLevel('log', 300))

Static NOTICE

NOTICE: LogLevel = LogLevel.register(new LogLevel('notice', 300))

Static TRACE

TRACE: LogLevel = LogLevel.register(new LogLevel('trace', 0))

Static WARN

WARN: LogLevel = LogLevel.register(new LogLevel('warn', 400))

Methods

gte

lte

Static forName

  • forName(name: string | undefined): LogLevel | undefined

Static names

  • names(): string[]

Static register

Generated using TypeDoc