Sets the logger to console logger with given logLevel (log is disabled by default).

  • Parameters

    • logLevel:
          | "silent"
          | "error"
          | "warn"
          | "info"
          | "debug" = 'warn'

      The Log level (default to 'warn')

    • prefix: string = 'scaleway-sdk-js:'

      A Log message prefix (default to 'scaleway-sdk-js:')

    Returns void