Closed shoegaze closed 3 weeks ago
Additional thoughts:
Function.prototype.name
to get the name of the function to log the parent functione.g. class Foo implements Loggable { function bar() { debug("...", this); } }
), we might be able to string "join" the call stack? i.e. the above might
log [window.Foo.bar] ...
by defaultError
objects as an argument to error("...", err)
in the future
winston
npm libraryLINKFIX_DEBUG
LINKFIX_DEBUG=1
log
error
info
debug