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
There is only one transport, added like this:
winston.add(winston.createLogger({ transports: [ new winston.transports.Console({ handleExceptions: true, format: winston.format.combine( winston.format.simple() ), }), ] }));
When a new Error thrown from index.js: throw new Error('++++ I will log twice ++++') will result in two separate logs!
index.js
throw new Error('++++ I will log twice ++++')
I've also tried transport.File({ ... }), but the same result.
transport.File({ ... })
The text was updated successfully, but these errors were encountered:
Updated stackoverflow question is here: https://stackoverflow.com/questions/55236098
Sorry, something went wrong.
No branches or pull requests
There is only one transport, added like this:
When a new Error thrown from
index.js
:throw new Error('++++ I will log twice ++++')
will result in two separate logs!
I've also tried
transport.File({ ... })
, but the same result.The text was updated successfully, but these errors were encountered: