Browse Source

Logging fix

pull/28/head
Jure Šorn 6 years ago
parent
commit
2b4c4c0460
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1669,7 +1669,7 @@ logger.add('debug_{time}.log', colorize=True) # Connects a log file.
logger.add('error_{time}.log', level='ERROR') # Adds another file for errors or higher.
logger.<level>('A logging message')
```
* **Levels: `'debug'`, `'info'`, `'success'`, `'warning'`, `'error'`, `'critical`'.**
* **Levels: `'debug'`, `'info'`, `'success'`, `'warning'`, `'error'`, `'critical'`.**
### Rotation
**Parameter that sets a condition when a new log file is created.**

Loading…
Cancel
Save