Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Logger

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Logger(name: string, level: string): Logger
  • new Logger(name: string, level: boolean): Logger

Properties

Private level

level: number | boolean

name

name: string

Private Static levels

levels: {} = ...

Type declaration

  • [key: string]: number

Methods

enabled

  • enabled(level: string): boolean

error

  • error(message: string, ...optionalParams: any[]): void

info

  • info(message: string, ...optionalParams: any[]): void

Private log

  • log(level: string, message: string, ...optionalParams: any[]): void
  • Parameters

    • level: string
    • message: string
    • Rest ...optionalParams: any[]

    Returns void

toLevel

  • toLevel(name: string): number

trace

  • trace(message: string, ...optionalParams: any[]): void

warn

  • warn(message: string, ...optionalParams: any[]): void

Generated using TypeDoc