Utility library that is used by all Ledger libraries to dispatch logs so we can deal with them in a unified way.
Table of Contents
A Log object
typestring a namespaced identifier of the log (it is not a level like "debug", "error" but more like "apdu-in", "apdu-out", etc...)
messagestring? a clear message of the log associated to the type
listen to logs.
cbSubscriber that is called for each future log() with the Log object
Returns Unsubscribe a function that can be called to unsubscribe the listener