Software /
code /
verse
Changeset
234:a597da99810c
verse: Connections use global Verse logger by default
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 27 Nov 2011 21:41:44 +0000 |
parents | 233:b5fd3292bdbd |
children | 235:3c93d6119477 |
files | init.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/init.lua Sun Nov 27 21:40:42 2011 +0000 +++ b/init.lua Sun Nov 27 21:41:44 2011 +0000 @@ -21,7 +21,7 @@ function verse.new(logger, base) local t = setmetatable(base or {}, stream); t.id = tostring(t):match("%x*$"); - t:set_logger(logger, true); + t:set_logger(logger or verse.log, true); t.events = events.new(); t.plugins = {}; return t;