15.0.0 • Published 5 months ago
nightingale-debug v15.0.0
Install
npm install --save nightingale-debug
Used by:
Usage with nodejs
DEBUG='*'; # debug everything
DEBUG=app # debug for logger with key 'app'
DEBUG=app:* # debug for logger with key 'app' and all its children
DEBUG=app,nightingale # debug for logger with key 'app' and 'nightingale'
DEBUG=/^app/ # debug for logger with key starting with 'app'
DEBUG=/^(app|nightingale$)/ # debug for logger with key starting with 'app' and key 'nightingale'
DEBUG='*,-app'; # debug everything except app
DEBUG='*,-app:*'; # debug everything except app and all its children
Usage with browser
with localStorage
localStorage.debug = '*'; // debug everything
localStorage.debug = 'app'; // debug for logger with key 'app'
localStorage.debug = 'app,nightingale'; // debug for logger with key 'app' and 'nightingale'
localStorage.debug = '/^app/'; //debug for logger with key starting with 'app'
localStorage.debug = '/^(app|nightingale$)/'; // debug for logger with key starting with 'app' and key 'nightingale'
localStorage.debug = '*,-app'; // debug everything except app
localStorage.debug = '*,-app:*'; // debug everything except app and all its children
with query, in the url
?DEBUG='*'; // debug everything
?DEBUG=app // debug for logger with key 'app'
?DEBUG=app,nightingale // debug for logger with key 'app' and 'nightingale'
?DEBUG=/^app/ // debug for logger with key starting with 'app'
?DEBUG=/^(app|nightingale$)/ // debug for logger with key starting with 'app' and key 'nightingale'
?DEBUG=*,-app // debug everything except app
?DEBUG=*,-app:* // debug everything except app and all its children
15.0.0
5 months ago
14.2.0
6 months ago
14.2.1
6 months ago
14.1.0
10 months ago
14.0.0
11 months ago
14.0.1
11 months ago
14.0.2
11 months ago
13.0.0
1 year ago
12.1.2
2 years ago
12.1.3
2 years ago
12.1.4
2 years ago
12.0.0
2 years ago
12.1.0
2 years ago
12.0.1
2 years ago
12.1.1
2 years ago
11.7.4
2 years ago
11.7.2
2 years ago
11.7.1
3 years ago
11.7.0
3 years ago
11.6.0
3 years ago
11.5.2
3 years ago
11.3.0
3 years ago
11.2.0
3 years ago
11.1.0
3 years ago
11.0.5
3 years ago
11.0.3
3 years ago
11.0.1
3 years ago
11.0.0
3 years ago
10.0.0
4 years ago
10.0.1
4 years ago
5.2.2
5 years ago
5.2.1
5 years ago
5.2.0
5 years ago
5.1.0
5 years ago
5.0.0
5 years ago
4.0.5
6 years ago
4.0.4
6 years ago
4.0.3
6 years ago
4.0.2
6 years ago
4.0.1
6 years ago
4.0.0
6 years ago
3.0.0
6 years ago
2.3.1
7 years ago
2.3.0
7 years ago
2.2.1
7 years ago
2.2.0
7 years ago
2.1.0
7 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago