Delete log entries matching the query. If no query is provided, deletes ALL log entries. Returns the number of deleted entries.
Optionalquery: JobLogQueryQuery log entries with optional filtering and pagination. Used by agendash to display logs.
Optionalquery: JobLogQueryWrite a log entry. Called automatically by Agenda for each job lifecycle event. Implementations should be fast and non-blocking.
Pluggable interface for persistent job event logging.
Implement this interface to store job lifecycle logs in your preferred backend. Each backend package (mongo, postgres, redis) provides a built-in implementation that stores logs in a dedicated table/collection alongside the jobs.
Example