mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
lua logger
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user