-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add colors! #35
Comments
Do you have a code example on how you would use it? |
Maybe check out pino-colada and pino-pretty for inspiration? |
I've been trying to have one-line-logger be colored by default, but I couldn't make it work. What I would expect it's something slightly different and "nicer" to read. This is the output of pino-pretty: I would expect this module to retain the color of the level. This is with the default settings: However I need to force a const fastify = require('fastify')({
logger: {
transport: {
target: './index.js',
options: {
colorize: true,
}
}
}
}) There should not be a need to foce |
As titled, it would be awesome if this transport added colors!
The text was updated successfully, but these errors were encountered: