We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Test case:
var logger = require('winston'); logger.remove(logger.transports.Console); logger.add(logger.transports.Console, {'showLevel': false}); logger.info('some info'); logger.error('some error');
Output:
$ node test-winston.js info: some info error: some error
Expected result would be:
$ node test-winston.js some info some error
Winston version: 0.9.0, Node.js version: 0.10.18.
The text was updated successfully, but these errors were encountered:
We should have better test coverage here obviously. Could you perhaps add one? 😄
Sorry, something went wrong.
fix for 'showLevel' value not being used in Console transport (winsto…
131ab80
…njs#557)
Test coverage was adequate, but the problem was that test was passing but the code didn't work. I've created a pull request for this.
Merge pull request #558 from VipSaran/master
ffaf3ec
fix for 'showLevel' value not being used in Console transport (#557) and description of debugStdout usage for Console Transport (#556)
No branches or pull requests
Test case:
Output:
Expected result would be:
Winston version: 0.9.0,
Node.js version: 0.10.18.
The text was updated successfully, but these errors were encountered: