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

feature: support winston 3 #47

Closed
wants to merge 20 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Small fixes.

  • Loading branch information
OtterCode authored and mostlyjason committed Jun 28, 2018
commit b9f4e557d286b9bc1f46adb22c8159d70a392d5a
@@ -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.