JGUI/jgui/logger/logger.py
Joey Payne 49a630e8ac Added a logger for more maintainable and configurable debug messages.
Fixed a bug with context setting so that all children are updated on
context update.
2014-02-06 11:21:22 -07:00

6 lines
122 B
Python

from __future__ import print_function
from jgui.settings import DEBUG
def log(*args):
if DEBUG:
print(*args)