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:
jci-fox 2014-03-04 09:27:04 -06:00
parent 22c156582f
commit 73344ba79f

View File

@ -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) {