]> mj.ucw.cz Git - moe.git/commitdiff
Added a shabby skeleton of a logging module
authorMartin Mares <mj@ucw.cz>
Sun, 9 Aug 2009 14:32:43 +0000 (16:32 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 9 Aug 2009 14:32:43 +0000 (16:32 +0200)
t/moe/log.py [new file with mode: 0644]

diff --git a/t/moe/log.py b/t/moe/log.py
new file mode 100644 (file)
index 0000000..4b8e586
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+import sys
+
+def say(msg):
+    sys.stdout.write(msg + "\n")
+
+def verbose(msg):
+    sys.stdout.write(msg)
+
+def progress(msg):
+    sys.stdout.write(msg)