15.0.0 • Published 2 years ago

nightingale-console v15.0.0

Weekly downloads
120
License
ISC
Repository
github
Last release
2 years ago

Install

npm install --save nightingale nightingale-console

Usage

import { configure, levels } from 'nightingale';
import { ConsoleHandler } from 'nightingale-console';

configure([{ handlers: [new ConsoleHandler(Level.INFO)] }]);

Debug

DEBUG=* node .

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

Use source maps to display error stack trace

Since node 12.12.0, you can use --enable-source-maps while running node.

error with source maps

15.0.0

2 years ago

14.2.0

2 years ago

14.2.1

2 years ago

14.1.0

2 years ago

14.0.0

2 years ago

14.0.1

2 years ago

14.0.2

2 years ago

13.0.0

3 years ago

12.0.0

4 years ago

12.0.1

4 years ago

12.1.2

4 years ago

12.1.3

3 years ago

12.1.4

3 years ago

12.1.0

4 years ago

12.1.1

4 years ago

11.7.4

4 years ago

11.7.2

4 years ago

11.7.1

4 years ago

11.7.0

4 years ago

11.6.0

4 years ago

11.5.2

4 years ago

11.3.0

4 years ago

11.2.0

4 years ago

11.1.1

4 years ago

11.1.0

4 years ago

11.0.5

4 years ago

11.0.3

4 years ago

11.0.1

4 years ago

11.0.0

5 years ago

10.0.0

5 years ago

10.0.1

5 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.2.1

6 years ago

5.2.0

6 years ago

5.1.0

6 years ago

5.0.0

7 years ago

4.0.6

7 years ago

4.0.5

7 years ago

4.0.4

7 years ago

4.0.3

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.0.0

7 years ago

2.6.0

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.3.0

8 years ago

2.2.0

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago