Skip to main content

export_logs

Function export_logs 

Source
pub async fn export_logs(
    levels: Vec<String>,
    target: Option<String>,
    query: Option<String>,
) -> Result<String, ServerFnError>
Expand description

导出运行日志为纯文本(每行 [RFC3339] LEVEL target: message)。

get_logs 同一筛选语义,按 id ASC(时间正序),上限 10000 行。

§Handler information

  • Method: post
  • Path: <auto>