chore: Add more details about log levels
sojan-official opened this issue · 0 comments
sojan-official commented
@vishnu-narayanan @sojan-official Thanks for this, let us use this as starting point. Can we also include how the choice was made in https://github.com/chatwoot/chatwoot/pull/4314/files?
The expectation is to write down what are the considerations a new person should take while adding a logline. Please see some of the thoughts that need to be captured below.
- When is log-level warn used vs error?
- What is the default log level to be used?
- Should we add any tags to the logs for easy searching?
- Should we capitalize the logs (In the PR some of the logs are using all caps, some are using mixed characters)?
Originally posted by @pranavrajs in #262 (comment)