import { Filter } from "https://deno.land/x/dxx@rf/src/lib/axe/$mod.ts";
A filter transform which uses a predicate(_:LogEntry)
function to process and selectively discard entries.
- the built-in/default predicate is a priority filter which defaults to simple pass-through of all LogEntry's
Constructors
new
Filter(options?: FilterOptions)Properties
predicate: (entry: LogEntry, props?: Record<string, unknown>) => boolean
Methods
protected
_getLevelNumber(level: number | string, levels: LevelMap)