Options
All
  • Public
  • Public/Protected
  • All
Menu

Logger which buffers all messages, use with care due to possible high memory footprint. Can be convenient in some cases. Call toString() for full output, or cast to this class and call getMessages() to do something with it yourself.

Hierarchy

Implements

Index

Constructors

constructor

Methods

Protected createDefaultLogMessage

debug

  • debug(msg: string, ...categories: Category[]): void

debugc

  • debugc(msg: function, ...categories: Category[]): void

Protected doLog

error

  • error(msg: string, error: Error, ...categories: Category[]): void

errorc

  • errorc(msg: function, error: function, ...categories: Category[]): void

fatal

  • fatal(msg: string, error: Error, ...categories: Category[]): void

fatalc

  • fatalc(msg: function, error: function, ...categories: Category[]): void

getMessages

  • getMessages(): string[]

Protected getRootCategory

info

  • info(msg: string, ...categories: Category[]): void

infoc

  • infoc(msg: function, ...categories: Category[]): void

log

  • log(level: LogLevel, msg: string, error: Error, ...categories: Category[]): void

logc

  • logc(level: LogLevel, msg: function, error: function, ...categories: Category[]): void

resolved

  • resolved(msg: string, error: Error, ...categories: Category[]): void

resolvedc

  • resolvedc(msg: function, error: function, ...categories: Category[]): void

toString

  • toString(): string

trace

  • trace(msg: string, ...categories: Category[]): void

tracec

  • tracec(msg: function, ...categories: Category[]): void

warn

  • warn(msg: string, ...categories: Category[]): void

warnc

  • warnc(msg: function, ...categories: Category[]): void

Generated using TypeDoc