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
type
tag
Thank for making such a great tool.
This is not a bug. I'm just curious why we need to normalize type and tag to lowercase.
consola/src/consola.ts
Lines 299 to 303 in 5619fc7
The text was updated successfully, but these errors were encountered:
Hi, and thanks for your kind words. It is just for output consistency in cli. Do you have a usecase that casing could matter?
Sorry, something went wrong.
Thanks for your reply.
example code:
consola.withTag('MyAppName').error('Something Wrong.')
I think the log should be [error] [MyAppName] Something Wrong., but I get [error] [myappname] Something Wrong.
[error] [MyAppName] Something Wrong.
[error] [myappname] Something Wrong.
Perhaps we should keep the custom input tag?
Yeah makes sense. Feel free to open a PR for this change.
Successfully merging a pull request may close this issue.
Thank for making such a great tool.
This is not a bug. I'm just curious why we need to normalize
type
andtag
to lowercase.consola/src/consola.ts
Lines 299 to 303 in 5619fc7
The text was updated successfully, but these errors were encountered: