github.com/abolfazlbeh/zhycan@v0.0.0-20230819144214-24cf38237387/cmd/cmd_main/commands/templates/logger.config.gotmpl (about) 1 { 2 "type": "zap", 3 "outputs": ["console", "file"], 4 "channel_size": 1000, 5 "options": ["caller", "stackTrace"], 6 "console": { 7 "level": "debug" 8 }, 9 "file": { 10 "level": "debug", 11 "path": "/tmp" 12 }, 13 "graylog": { 14 "ip": "graylog.graylog", 15 "port": 12201, 16 "stdout": true 17 }, 18 "syslog": { 19 "ip": "172.25.205.37", 20 "port": 514, 21 "ctype": "tcp" 22 } 23 }