diff options
Diffstat (limited to 'api/log.py')
-rw-r--r-- | api/log.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,8 +1,11 @@ import logging +# logging module wrapper (same as db.py) VERBOSE = logging.INFO logging.basicConfig(format="[ %(levelname)s ]: %(message)s", level=VERBOSE) +# log functions error = logging.error info = logging.info warning = logging.warning + |