You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
419 B
31 lines
419 B
9 years ago
|
### Logging.
|
||
|
|
||
|
- `log.Fatalf`
|
||
|
- `log.Errorf`
|
||
|
- `log.Warnf`
|
||
|
- `log.Infof`
|
||
|
- `log.Debugf`
|
||
|
|
||
|
Logging is enabled across the codebase. There are three types of logging supported.
|
||
|
|
||
|
- console
|
||
|
- file
|
||
|
- syslog
|
||
|
|
||
|
```
|
||
|
"console": {
|
||
|
"enable": true,
|
||
|
"level": "debug"
|
||
|
},
|
||
|
"file": {
|
||
|
"enable": false,
|
||
|
"fileName": "",
|
||
|
"level": "error"
|
||
|
},
|
||
|
"syslog": {
|
||
|
"enable": false,
|
||
|
"address": "",
|
||
|
"level": "debug"
|
||
|
}
|
||
|
```
|