mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-09-25 04:40:20 +00:00
refactoring
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user