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 _getMessageFormatter

  • _getMessageFormatter(): function | null

Protected createDefaultLogMessage

debug

debugc

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

Protected doLog

error

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

errorc

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

fatal

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

fatalc

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

getMessages

  • getMessages(): string[]

Protected getRootCategory

info

infoc

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

log

logc

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

resolved

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

resolvedc

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

toString

  • toString(): string

trace

tracec

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

warn

warnc

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

Generated using TypeDoc