Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextLogger

Context-aware logger that decorates log message with stack-based prefix, emits headerMessage before first actual log message.

Hierarchy

  • ContextLogger

Implements

Index

Constructors

constructor

Properties

error

error: (Anonymous function) = this.createLogMethod("error")

Readonly headerMessage

headerMessage: string

info

info: (Anonymous function) = this.createLogMethod("info")

Readonly m_logger

m_logger: ISimpleChannel

warn

warn: (Anonymous function) = this.createLogMethod("warn")

Methods

pop

  • pop(): void

pushAttr

  • pushAttr(name: string): void

pushIndex

  • pushIndex(index: string | number): void

Generated using TypeDoc