Options
All
  • Public
  • Public/Protected
  • All
Menu

Simple logger, that logs to the console. If the console is unavailable will throw an exception.

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

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

trace

tracec

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

warn

warnc

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

Generated using TypeDoc