leds/logger.py

11 lines
119 B
Python
Raw Normal View History

2020-11-08 07:47:10 +00:00
debug_statements = False
2020-11-07 04:12:10 +00:00
2020-11-09 04:15:31 +00:00
2020-11-07 04:12:10 +00:00
def debug(msg):
if debug_statements:
print(msg)
2020-11-09 04:15:31 +00:00
2020-11-07 04:12:10 +00:00
def info(msg):
2020-11-09 04:15:31 +00:00
print(msg)