From 19923b1c26ac0ca8c71a89c0e7a286ddfac2769f Mon Sep 17 00:00:00 2001
From: crater2150 <crater@qwertyuiop.de>
Date: Fri, 25 Apr 2014 16:23:54 +0200
Subject: [PATCH] Fix log() printing table id instead of message

---
 simplelog.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/simplelog.lua b/simplelog.lua
index da4028d..d88c44f 100644
--- a/simplelog.lua
+++ b/simplelog.lua
@@ -66,6 +66,6 @@ function simplelog.loggers.stdio(msg, severity)
 	print(msg)
 end
 
-simplelog.mt.__call = simplelog.log
+simplelog.mt.__call = function(t,message) simplelog.log(message) end
 
 return setmetatable(simplelog, simplelog.mt)