Class LoggerFactory

Json Logger Façada

Create an instance of JLogger

Usage:

const logger = LoggerFactory.create('my-logger');
logger.info('The processing has started', new KV('processId', 123456));

Severity Supported (see LogSeverity):

  • debug
  • info
  • warn
  • error
  • panic

Hierarchy

  • LoggerFactory

Accessors

Methods

  • Clear all log destinations

    Returns void

  • Remove a specific log destination

    Parameters

    • Optional name: string

    Returns void

Generated using TypeDoc