How to use the @algolia/logger-common.LogLevelEnum.Info function in @algolia/logger-common

To help you get started, we’ve selected a few @algolia/logger-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github algolia / algoliasearch-client-javascript / packages / logger-console / src / createConsoleLogger.ts View on Github external
info(message: string, args?: any): Readonly> {
      if (LogLevelEnum.Info >= logLevel) {
        console.info(message, args);
      }

      return Promise.resolve();
    },

@algolia/logger-common

Common interfaces for promise-based log libraries

MIT
Latest version published 5 months ago

Package Health Score

80 / 100
Full package analysis

Similar packages