Files
skynet/examples/main_log.lua
2014-04-21 15:08:10 +08:00

11 lines
231 B
Lua

local skynet = require "skynet"
skynet.start(function()
print("Log server start")
local service = skynet.newservice("service_mgr")
skynet.monitor "simplemonitor"
local log = skynet.newservice("globallog")
skynet.exit()
end)