@coveo/headless
    Preparing search index...

    Interface LoggerOptions

    interface LoggerOptions {
        level?: LevelWithSilent;
        logFormatter?: (object: {}) => {};
    }
    Index

    Properties

    level?: LevelWithSilent

    By default, is set to warn.

    logFormatter?: (object: {}) => {}

    Changes the shape of the log object. This function will be called every time one of the log methods (such as .info) is called. All arguments passed to the log method, except the message, will be pass to this function. By default it does not change the shape of the log object.