A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pimterry/loglevel/issues/111 below:

Debug level is not showing in console · Issue #111 · pimterry/loglevel · GitHub

As the title states, calls to log.debug do not print results to the console. The following script index.js was run with node index.js:

var log = require('loglevel');

log.setLevel(log.levels.TRACE);

log.error('error');
log.warn('warn')
log.info('info');
log.debug('debug');
log.trace('trace');

and the following was displayed on the console:

error
warn
info
Trace: trace
    at Object.<anonymous> (/some/random/directory/index.js:9:5)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (module.js:605:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:575:3

As the output shows, the DEBUG level is skipped.

I am using loglevel v1.4.1 with Node.js 8.2.1 and npm 5.3.0 on macOS 10.12.6.

Akuukis, cxw42, lludol, killalau, sbaechler and 1 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4