Axinom Mosaic Libraries
    Preparing search index...

    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' })
    interface LogMessage {
        context?: string;
        details?: Dict<unknown>;
        environmentInfo?: { environmentId: string; tenantId: string };
        logtime?: string | Date;
        message?: string;
        retention?: LogRetention;
    }
    Index

    Properties

    context?: string
    details?: Dict<unknown>
    environmentInfo?: { environmentId: string; tenantId: string }
    logtime?: string | Date
    message?: string
    retention?: LogRetention