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

Small fixes on top of 3.0 winston compat. #40

Closed
wants to merge 14 commits into from

Small fixes.

  • Loading branch information
OtterCode committed Jun 28, 2018
commit 180e4019fa535175aa296a4f1e825a5201c3a55a
@@ -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.