Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pup/plugins/web-interface/static/js/network.js>getLogs

Universal process manager built in Deno
Go to Latest
function getLogs
import { getLogs } from "https://deno.land/x/pup@1.0.0-rc.4/plugins/web-interface/static/js/network.js";

Fetches the logs for a specific process from the server, optionally filtering by a time range, severity level, and row limit.

Parameters

processId
  • The ID of the process to fetch logs for.
startTimeStamp
  • An optional timestamp indicating the start of the time range for which to fetch logs.
endTimeStamp
  • An optional timestamp indicating the end of the time range for which to fetch logs.
severity
  • An optional severity level by which to filter the logs.
nRows
  • An optional limit on the number of log rows to fetch.