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
winston
winston@2
winston@3
node -v
Current definitions:
(info, opts) => {}
log(info, callback)
info
It seems no way to get colors passed from winston.addColors(myCustomLevels.colors);.
colors
winston.addColors(myCustomLevels.colors);
I want to implement a custom console transport which prints messages with color in a different style.
(info, opts) => { console.log(info.colors); // get colors from info object }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please tell us about your environment:
winston
version?winston@2
winston@3
node -v
outputs: v8.9.1What is the problem?
Current definitions:
(info, opts) => {}
in Formatlog(info, callback)
in Transportinfo
ObjectIt seems no way to get
colors
passed fromwinston.addColors(myCustomLevels.colors);
.I want to implement a custom console transport which prints messages with color in a different style.
What do you expect to happen instead?
Other information
The text was updated successfully, but these errors were encountered: