Add start/end parameters to log download
This commit is contained in:
parent
62e2865b63
commit
548ca39149
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue