• Overrides console methods to use mosaic logger instance instead. Produces a JSON log with hardcoded context "console". Affected console methods:error, warn, log, info, debug, trace. Does NOT affect debug logs produced by debug module (which are controlled by DEBUG env variable).

    Parameters

    • logger: Logger = ...

      optional logger instance.

    Returns void

Generated using TypeDoc