Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Log

Hierarchy

  • Log

Index

Constructors

Private constructor

  • new Log(): Log

Properties

Private globalOptions

globalOptions: ILoggerOptions

Private initial

initial: boolean = false

check if configuration was loaded

Private loggers

loggers: {} = {}

Type declaration

Static DEFAULT_OPTIONS

DEFAULT_OPTIONS: {} = {}

Type declaration

Static LOGGER_CLASS

LOGGER_CLASS: ClassType<ILoggerApi> = ...

Static enable

enable: boolean = true

Static inc

inc: number = 0

Static prefix

prefix: string = ''

Static self

self: Log = null

Accessors

logger

Methods

createLogger

createOrUpdateLogger

getLogger

getLoggerOptionsFor

Private options

removeLogger

  • removeLogger(name: string): void

Static _

Static debug

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

Static error

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

Static getLogger

Static getLoggerFor

  • getLoggerFor(fn: Function, opts?: any): ILoggerApi

Static info

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

Static log

  • log(level: string, ...args: any[]): void

Static options

Static reset

  • reset(): void

Static trace

  • trace(...args: any[]): void

Static warn

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

Generated using TypeDoc