aboutsummaryrefslogtreecommitdiff
path: root/api/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/log.py')
-rw-r--r--api/log.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/log.py b/api/log.py
index 81346ed..5b573b0 100644
--- a/api/log.py
+++ b/api/log.py
@@ -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
+