Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "logger"

Index

Classes

Variables

Functions

Object literals

Variables

FORMAT_TOKEN_EXP

FORMAT_TOKEN_EXP: RegExp = /(%s|%d|%j|%%)/g

TYPE_KEYS

TYPE_KEYS: string[] = keys(TYPES)

colurs

colurs: IColurs = colursInstance()

instance

instance: Logger

Functions

createInstance

Object literals

DEFAULTS

DEFAULTS: object

colors

colors: boolean = true

depth

depth: number = 2

errorCapture

errorCapture: boolean = false

errorExit

errorExit: boolean = true

level

level: string = "info"

miniStack

miniStack: boolean = true

prettyStack

prettyStack: boolean = false

stackTrace

stackTrace: boolean = true

timestamp

timestamp: string = "time"

TYPES

TYPES: object

debug

debug: string = "magenta"

error

error: string = "red"

info

info: string = "green"

warn

warn: string = "yellow"

Generated using TypeDoc