This website requires JavaScript.
Explore
Help
Sign In
jane
/
leds
Watch
1
Star
0
Fork
You've already forked leds
0
Code
Issues
Pull requests
Releases
Wiki
Activity
3116435878
leds
/
logger.py
11 lines
119 B
Python
Raw
Normal View
History
Unescape
Escape
turn debug off
2020-11-09 06:40:36 +00:00
debug_statements
=
False
debugging
2020-11-07 04:12:10 +00:00
network stuff?
2020-11-09 04:15:31 +00:00
debugging
2020-11-07 04:12:10 +00:00
def
debug
(
msg
)
:
if
debug_statements
:
print
(
msg
)
network stuff?
2020-11-09 04:15:31 +00:00
debugging
2020-11-07 04:12:10 +00:00
def
info
(
msg
)
:
network stuff?
2020-11-09 04:15:31 +00:00
print
(
msg
)
Reference in a new issue
Copy permalink