An interface that represents a logger implementation to be used by components of @axinom/mosaic-db-common. An example of Mosaic implementation:

import { Logger } from '@axinom/mosaic-service-common';
//...
const logger = new Logger({ context: 'messaging' });

Hierarchy

  • DbLogger

Methods

  • Parameters

    • message: string

    Returns void

  • Parameters

    • error: Error

    Returns void

  • Parameters

    • message: string

    Returns void

  • Parameters

    • error: Error

    Returns void

  • Parameters

    • error: Error
    • message: string

    Returns void

  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string

    Returns void

Generated using TypeDoc