mirror of
https://github.com/gmihaila/ml_things.git
synced 2021-10-04 01:29:04 +03:00
Update README.md
This commit is contained in:
@@ -40,7 +40,7 @@ logger = custom_logger(file_log="file.log", filemode='w')
|
||||
|
||||
## Snippets:
|
||||
|
||||
### Log
|
||||
### assertion log
|
||||
```python
|
||||
try:
|
||||
assert 1 == 0
|
||||
@@ -48,3 +48,4 @@ except AssertionError as err:
|
||||
logger.exception("My assert failed :( ")
|
||||
raise err
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user