Reputation: 1037
So far I only could get logs without dates. How to configure the logs to automatically do this?
Or, is there a better logger?
Upvotes: 0
Views: 50
Reputation: 2206
Winston is great for this! You can get logs into json, mongodb, etc.
Alternatively, you could write your own log function
Upvotes: 1