Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConsoleLogger

Hierarchy

  • ConsoleLogger

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private context

context: any

Methods

debug

  • debug(message: string, context?: undefined | object): void

error

  • error(message: string, context?: undefined | object): void

fatal

  • fatal(message: string, context?: undefined | object): void

Private formatMessage

  • formatMessage(message: string, level: LogLevel, context: any): string

info

  • info(message: string, context?: undefined | object): void

log

  • log(level: number, message: string, context: object): void
  • Parameters

    • level: number
    • message: string
    • context: object

    Returns void

warn

  • warn(message: string, context?: undefined | object): void

Generated using TypeDoc