-
Notifications
You must be signed in to change notification settings - Fork 11
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
how to custom timestamp? #1
Comments
Hello @zieglar, on which logger are you interested? |
winston |
Ok, then I will release a new version with the option of
You can basically copy and paste this function and pass it as an argument to the By doing this you can format not only the timestamp but all the params from the message. |
Version |
ok, thank you. |
now new format is ok, but I think why we don't pass this format to winston config for modify timestamp format. winston issue :)
|
Nice. If you want you can open a pr. |
submited, please check and merge. |
I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
need reformat timestamp in log output
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
The text was updated successfully, but these errors were encountered: