fixing unit test
logger.log requires 2 params, and with the 1st being level and filtering the level, the log call must provide a level that will result in log messages
This commit is contained in:
parent
22c156582f
commit
73344ba79f
@ -70,7 +70,7 @@ vows.describe('log4js logglyAppender').addBatch({
|
|||||||
tags: ['loggly-tag1', 'loggly-tag2', 'loggly-tagn']
|
tags: ['loggly-tag1', 'loggly-tag2', 'loggly-tagn']
|
||||||
});
|
});
|
||||||
|
|
||||||
setup.logger.log('Log event #1');
|
setup.logger.log('trace', 'Log event #1');
|
||||||
return setup;
|
return setup;
|
||||||
},
|
},
|
||||||
'there should be one message only': function (topic) {
|
'there should be one message only': function (topic) {
|
||||||
|
Loading…
Reference in New Issue
Block a user