Options
All
  • Public
  • Public/Protected
  • All
Menu

Abstract category logger, use as your base class for new type of loggers (it saves you a lot of work) and override doLog(CategoryLogMessage). The message argument provides full access to anything related to the logging event. If you just want the standard line of logging, call: this.createDefaultLogMessage(msg) on this class which will return you the formatted log message as string (e.g. the default loggers all use this).

Hierarchy

Implements

Index

Constructors

constructor

Methods

Protected _getMessageFormatter

  • _getMessageFormatter(): function | null

Protected createDefaultLogMessage

debug

Protected doLog

error

fatal

Protected getRootCategory

info

log

resolved

trace

warn

Generated using TypeDoc