Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • opts: {
          baseLogger: undefined | Debugger;
          deviceId: string;
          ns: undefined | string;
          prefix: undefined | string;
      }
      • baseLogger: undefined | Debugger
      • deviceId: string
      • ns: undefined | string
      • prefix: undefined | string

        optional prefix to add to the start of each log message. Used to add context e.g. the core ID that is syncing. Use this as an alternative to the debug namespace.

    Returns Logger

Properties

deviceId: string

Accessors

  • get log(): Debugger
  • Returns Debugger

Methods

  • Parameters

    • ns: string
    • Optionalopts: {
          prefix?: string;
      } = {}
      • Optionalprefix?: string

    Returns Logger

  • Parameters

    • ns: string
    • Optionallogger: Logger
    • Optionalopts: {
          prefix?: string;
      }
      • Optionalprefix?: string

    Returns Logger