类型别名记录器

记录器: ((level , message ) => void )

使用自定义记录器检测 Atlas Device Sync 客户端时传递给App.Sync.setLogger的回调。

类型声明

    • (level , message ) : void
    • 参数

      • level: NumericLogLevel

        日志条目的级别介于 0 到 8(含)之间。 将其用作['all', 'trace', 'debug', 'detail', 'info', 'warn', 'error', 'fatal', 'off']的索引以获取级别的名称。

      • message : string

        日志条目的消息。

      返回void

使用TypeDoc生成