aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/server.lua b/net/server.lua
index a9147274..5de8c061 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -17,8 +17,10 @@ local clean = function( tbl )
tbl[ i ] = nil
end
end
-local out_put = print
-local out_error = print
+
+local log, table_concat = require ("util.logger").init("socket"), table.concat;
+local out_put = function () end
+local out_error = function (...) return log("warn", table_concat{...}); end
local mem_free = collectgarbage
----------------------------------// DECLARATION //--