aboutsummaryrefslogtreecommitdiff
path: root/src/ee/logging.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/logging.py')
-rw-r--r--src/ee/logging.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ee/logging.py b/src/ee/logging.py
new file mode 100644
index 0000000..c8fd48a
--- /dev/null
+++ b/src/ee/logging.py
@@ -0,0 +1,20 @@
+from colors import color
+
+__all__ = ["Log", "log"]
+
+
+class Log(object):
+ def __init__(self):
+ pass
+
+ def warn(self, msg):
+ print(color(msg, "orange"))
+
+ def info(self, msg):
+ print(color(msg, "white"))
+
+ def debug(self, msg):
+ print(color(msg, "grey"))
+
+
+log = Log()