Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Logger

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Logger(source: string): Logger

Properties

Private _source

_source: string

Log "prefix".

Methods

Private _log

  • _log(fn: function, level: number, objects: any[]): void

debug

  • debug(...objects: any[]): void

error

  • error(...objects: any[]): void

info

  • info(...objects: any[]): void

warn

  • warn(...objects: any[]): void

Static getLevel

  • getLevel(): number

Static setLevel

  • setLevel(name: keyof LogLevels): number

Generated using TypeDoc