Log format
A log format is a string that can be used to format log messages. The default log format is json.
Two formats are available :
- json
 - human
 
JSON format
Output
{"level": "info","time": "2022-01-01T14:00:00+00:00","caller": "demo.go:17","message": "hello world"}
Setup
- This is a default value
 
Human format
Output
Setup