Options
All
  • Public
  • Public/Protected
  • All
Menu

A logger.

Hierarchy

  • Logger

Index

Properties

Private Readonly _ACTIONS

_ACTIONS: LogAction[] = []

Methods

addAction

alert

  • alert(msg: any, tag?: string): this

crit

  • crit(msg: any, tag?: string): this
  • Logs a critical message.

    Parameters

    • msg: any

      The message to log.

    • Optional tag: string

    Returns this

    this

dbg

  • dbg(msg: any, tag?: string): this

emerg

  • emerg(msg: any, tag?: string): this
  • Logs an emergency message.

    Parameters

    • msg: any

      The message to log.

    • Optional tag: string

    Returns this

    this

err

  • err(msg: any, tag?: string): this

info

  • info(msg: any, tag?: string): this

log

  • log(type: LogType, msg: any, tag?: string): this

note

  • note(msg: any, tag?: string): this

trace

  • trace(msg: any, tag?: string): this

warn

  • warn(msg: any, tag?: string): this
  • Logs a warning message.

    Parameters

    • msg: any

      The message to log.

    • Optional tag: string

    Returns this

    this

Generated using TypeDoc