-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.js
32 lines (26 loc) · 805 Bytes
/
test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
var logger = require('./')({ level: 'debug' });
logger.info('Testing 123.');
logger.info('Testing 123.');
logger.debug('Testing 123.');
logger.debug('Testing 123.');
// logger.notice('Testing 123.');
logger.debug('Testing 123.');
logger.warn('Testing 123.');
logger.debug('Testing 123.');
logger.critical('Testing 123.');
logger.debug('Testing 123.');
// logger.notice('Testing 123.');
logger.error('Testing 123.');
logger.error('Testing 123.');
logger.debug('Testing 123.');
logger.info('Testing 123.', 'foobar');
logger.pause();
logger.info('Not appearing.');
logger.resume();
logger.critical('After testing 123.');
logger.debug('Testing 123.');
// logger.notice('Testing 123.');
logger.error('Testing 123.');
prefixed = logger.scope('agent');
prefixed.error('Foobar');
prefixed.info('13123123');