summaryrefslogtreecommitdiff
path: root/src/main_loop.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anylike.org>2009-12-25 09:33:35 +0000
committerChristian Pointner <equinox@anylike.org>2009-12-25 09:33:35 +0000
commit52dce0bb3a42a5cd6a5a84b10a65fe1f140fb9bc (patch)
tree5da04ee87c2912b34d335a5b1ae18fd0d619de71 /src/main_loop.lua
parentadded logging (diff)
added lua library for logging
Diffstat (limited to 'src/main_loop.lua')
-rw-r--r--src/main_loop.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main_loop.lua b/src/main_loop.lua
index 64963bb..e3dfb71 100644
--- a/src/main_loop.lua
+++ b/src/main_loop.lua
@@ -23,4 +23,8 @@
-- along with anylike. If not, see <http://www.gnu.org/licenses/>.
--
-print("lua: main_loop started");
+log.print("NOTICE", "main_loop started");
+
+log.print("DEBUG", "yet anoter message");
+
+log.print("ERROR", "this is an error"); \ No newline at end of file