diff options
Diffstat (limited to 'api/log.py')
-rw-r--r-- | api/log.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/api/log.py b/api/log.py new file mode 100644 index 0000000..81346ed --- /dev/null +++ b/api/log.py @@ -0,0 +1,8 @@ +import logging + +VERBOSE = logging.INFO +logging.basicConfig(format="[ %(levelname)s ]: %(message)s", level=VERBOSE) + +error = logging.error +info = logging.info +warning = logging.warning |