refactoring

This commit is contained in:
Nikolay Khabarov
2017-06-12 00:52:11 +03:00
parent 0fe98f4cca
commit 98bf7e914e
23 changed files with 448 additions and 405 deletions
+12
View File
@@ -0,0 +1,12 @@
import logging
logging.basicConfig(level=logging.CRITICAL,
format='[%(levelname)s] %(message)s')
def debug_enable():
logging.getLogger().setLevel(logging.DEBUG)
def debug_disable():
logging.getLogger().setLevel(logging.CRITICAL)