Skip to main content

logs

Function logs 

Source
async fn logs(arguments: &Value, cx: &ToolCtx<'_>) -> Result<String>
Expand description

logs: the last lines of AgentMux’s own srv or host log, on another machine (app.logs.tail) or, without a host, on this one (GET /api/v1/app/logs: through srv, so a container agent reads it too). level and contains are applied before the last lines are taken.