Add start/end parameters to log download

This commit is contained in:
osmarks 2018-10-03 18:32:23 +01:00
parent 62e2865b63
commit 548ca39149
1 changed files with 4 additions and 2 deletions

View File

@ -78,9 +78,11 @@ local function recv_result(for_cmd)
end)
end
function skynet.logs()
function skynet.logs(start, end_)
send_raw {
type = "log"
type = "log",
start = start,
["end"] = end_
}
return recv_result "log".log
end