@loglayer/plugin-redaction
Version:
Log redaction plugin for loglayer.
9 lines (8 loc) • 422 B
TypeScript
import { RedactOptions } from "fast-redact";
import { LogLayerPlugin, LogLayerPluginParams } from "@loglayer/plugin";
//#region src/index.d.ts
interface RedactionPluginParams extends Omit<RedactOptions, "serialize">, LogLayerPluginParams {}
declare function redactionPlugin(config: RedactionPluginParams): LogLayerPlugin;
//#endregion
export { RedactionPluginParams, redactionPlugin };
//# sourceMappingURL=index.d.ts.map