@ledgerhq/logs
Ledger logs central point
Last updated 15 days ago by gre .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ledgerhq/logs 
SYNC missed versions from official npm registry.

@ledgerhq/logs

Utility library that is used by all Ledger libraries to dispatch logs so we can deal with them in a unified way.

API

Table of Contents

Log

A Log object

Properties

log

log something

Parameters

  • type string a namespaced identifier of the log (it is not a level like "debug", "error" but more like "apdu-in", "apdu-out", etc...)
  • message string? a clear message of the log associated to the type
  • data any?

listen

listen to logs.

Parameters

  • cb function (Log): void that is called for each future log() with the Log object

Returns Unsubscribe a function that can be called to unsubscribe the listener

Current Tags

  • 5.1.1-alpha.2                                ...           canary (9 months ago)
  • 5.23.0                                ...           latest (15 days ago)

39 Versions

  • 5.23.0                                ...           15 days ago
  • 5.22.0                                ...           a month ago
  • 5.21.0                                ...           2 months ago
  • 5.19.1                                ...           2 months ago
  • 5.19.0                                ...           3 months ago
  • 5.17.0                                ...           3 months ago
  • 5.15.0                                ...           5 months ago
  • 5.13.1                                ...           5 months ago
  • 5.13.0                                ...           5 months ago
  • 5.11.0                                ...           6 months ago
  • 5.9.0                                ...           7 months ago
  • 5.6.0                                ...           8 months ago
  • 5.3.0                                ...           9 months ago
  • 5.2.0                                ...           9 months ago
  • 5.1.1-alpha.2                                ...           9 months ago
  • 5.0.0                                ...           9 months ago
  • 5.0.0-rc.4                                ...           9 months ago
  • 5.0.0-babel7.4                                ...           9 months ago
  • 5.0.0-babel7.3                                ...           10 months ago
  • 5.0.0-babel7.1                                ...           10 months ago
  • 5.0.0-alpha.7                                ...           10 months ago
  • 4.74.3-alpha.6                                ...           10 months ago
  • 5.0.0-alpha.5                                ...           10 months ago
  • 5.0.0-alpha.4                                ...           10 months ago
  • 5.0.0-alpha.3                                ...           10 months ago
  • 5.0.0-alpha.1                                ...           10 months ago
  • 4.72.0                                ...           a year ago
  • 4.70.0                                ...           a year ago
  • 4.69.3-alpha.1                                ...           a year ago
  • 4.68.2                                ...           a year ago
  • 4.64.0                                ...           a year ago
  • 4.62.0                                ...           a year ago
  • 4.61.0                                ...           a year ago
  • 4.60.3                                ...           a year ago
  • 4.60.2                                ...           a year ago
  • 4.60.0                                ...           a year ago
  • 4.59.1-alpha.2                                ...           a year ago
  • 4.58.0                                ...           a year ago
  • 4.56.0                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |