tslog/IDispatch.ts
2025-02-05 11:24:37 +01:00

9 lines
283 B
TypeScript

import { ILogItem } from "./ILogItem";
export interface IDispatchConfig {}
export interface IDispatch {
chain(dispatch: IDispatch): void; // add dispatches
process(item: ILogItem): void; // process a line; format, stats, etc.
output(item: ILogItem): void; // output a line
}