mirror of https://github.com/minio/minio.git
31 lines
419 B
Markdown
31 lines
419 B
Markdown
### 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"
|
|
}
|
|
```
|