9 lines
283 B
TypeScript
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
|
|
}
|