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
440f545d7d
leds
/
logger.py
11 lines
119 B
Python
Raw
Normal View
History
Unescape
Escape
remove debug stuff
2020-11-08 07:47:10 +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