An interface that represents a message object to be logged by Logger. An example of Mosaic implementation:
import { Logger } from '@axinom/mosaic-service-common';//...const logger = new Logger();logger.error({ message: "An error has occurred.", context: 'error-context' }) Copy
import { Logger } from '@axinom/mosaic-service-common';//...const logger = new Logger();logger.error({ message: "An error has occurred.", context: 'error-context' })
Optional
Generated using TypeDoc
An interface that represents a message object to be logged by Logger. An example of Mosaic implementation: