lua logger

This commit is contained in:
云风
2012-08-13 14:26:00 +08:00
parent 497490c74e
commit 04f9eaea49
5 changed files with 461 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ skynet.dispatch()
skynet.start(function()
print("Server start")
local lualog = skynet.launch("snlua","lualog")
print("lualog",lualog)
local launcher = skynet.launch("snlua","launcher")
print("launcher", launcher)
local console = skynet.launch("snlua","console")
@@ -17,4 +19,4 @@ skynet.start(function()
local redis = skynet.call(".launcher", "broker .redis snlua redis-cli 127.0.0.1:6379")
print("redis",redis)
skynet.exit()
end)
end)