mdoTomofumi Chiba
5/14/2023, 9:08:37 AM

Winston の JSON ログ、出力順番の先頭を timestamp にしたいんだけど、できないのかな?
アルファベット順にソートされる。みんな気にならんのかな。

{"context":"RoutesResolver","level":"info","message":"AppController {/}:","timestamp":"2023-05-14T09:04:32.921Z"}
{"context":"RoutesResolver","level":"info","message":"HealthController {/health}:","timestamp":"2023-05-14T09:04:32.921Z"}
{"context":"RouterExplorer","level":"info","message":"Mapped {/health, GET} route","timestamp":"2023-05-14T09:04:32.923Z"}
{"context":"RoutesResolver","level":"info","message":"ApiController {/}:","timestamp":"2023-05-14T09:04:32.924Z"}
TweetLike