Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make usage of winston 3.x default #51

Closed
wants to merge 16 commits into from

Small fixes.

  • Loading branch information
OtterCode authored and Filip Elias committed Jan 22, 2019
commit f2e60c792de9249265d42ffbfe1a281f95c57b21
@@ -32,6 +32,15 @@ module.exports.testLevels = function (transport, assertMsg, assertFn) {
primmetadatatest[assertMsg] = assertFn;
tests['when passed primitive metadata'] = primmetadatatest;

var nummetadatatest = {
topic: function () {
transport.log('info', 'test message', 123456789, this.callback.bind(this, null));
}
};

nummetadatatest[assertMsg] = assertFn;
tests['when passed numeric metadata'] = nummetadatatest;

// circular references aren't supportded by regular JSON, and it's not supported
// by node-loggly-bulk. I'm omitting it for now. If it wants to be fixed, then
// node-loggly-bulk needs an update.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.