@fjell/logging
Version:
Logging for Fjell
20 lines (19 loc) • 725 B
TypeScript
import * as LogFormat from "./LogFormat";
import * as LogLevel from "./LogLevel";
import { FloodControlConfig } from "./FloodControl";
import { MaskingConfig } from "./utils/maskSensitive";
export type LoggingConfig = {
logFormat: LogFormat.Config;
logLevel: LogLevel.Config;
overrides: Record<string, {
logLevel: LogLevel.Config;
}>;
floodControl: FloodControlConfig;
masking: MaskingConfig;
};
export declare const defaultLoggingConfig: LoggingConfig;
export declare const convertOverrides: (overrides: any) => Record<string, {
logLevel: LogLevel.Config;
}>;
export declare const convertConfig: (config: any) => LoggingConfig;
export declare const configureLogging: () => LoggingConfig;