@loglayer/plugin-redaction
Version:
Log redaction plugin for loglayer.
9 lines (6 loc) • 356 B
text/typescript
import { LogLayerPluginParams, LogLayerPlugin } from '@loglayer/plugin';
import { RedactOptions } from 'fast-redact';
interface RedactionPluginParams extends Omit<RedactOptions, "serialize">, LogLayerPluginParams {
}
declare function redactionPlugin(config: RedactionPluginParams): LogLayerPlugin;
export { type RedactionPluginParams, redactionPlugin };