mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
add snax.printf
This commit is contained in:
@@ -162,4 +162,8 @@ function snax.hotfix(obj, source, ...)
|
||||
return test_result(skynet_call(obj.handle, "snax", t.system.hotfix, source, ...))
|
||||
end
|
||||
|
||||
function snax.printf(fmt, ...)
|
||||
skynet.error(string.format(fmt, ...))
|
||||
end
|
||||
|
||||
return snax
|
||||
|
||||
Reference in New Issue
Block a user