MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / debug

Function debug

tests/binance-class-live.test.ts:28–34  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

26}
27
28let debug = function (x) {
29 if (typeof (process.env.node_binance_api) === 'undefined') {
30 return;
31 }
32 logger.log(typeof (x));
33 logger.log(util.inspect(x));
34}
35
36
37const binance = new Binance().options({

Callers

nothing calls this directly

Calls 1

logMethod · 0.80

Tested by

no test coverage detected