mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 19:13:07 +00:00
14 lines
366 B
Lua
14 lines
366 B
Lua
local skynet = require "skynet"
|
|
|
|
skynet.start(function()
|
|
print("Log server start")
|
|
local service = skynet.newservice("service_mgr")
|
|
skynet.monitor "simplemonitor"
|
|
local lualog = skynet.newservice("lualog")
|
|
local console = skynet.newservice("console")
|
|
local log = skynet.newservice("globallog")
|
|
-- skynet.launch("snlua","testgroup_c 11 1")
|
|
skynet.exit()
|
|
end)
|
|
|