2021-08-06 11:15:47 +02:00
|
|
|
# logger
|
|
|
|
|
2021-08-06 11:18:42 +02:00
|
|
|
Simple logger function for other scripts
|
|
|
|
|
|
|
|
## Usage example
|
|
|
|
```python
|
|
|
|
try:
|
|
|
|
from loghandler import logger
|
|
|
|
except:
|
|
|
|
# if loghandler.py is located in subdirectory "lib"
|
|
|
|
from lib.loghandler import logger
|
|
|
|
```
|