Skip to main content

log-more > ConfigurationManager > setConfig

ConfigurationManager.setConfig propertyโ€‹

Set the configuration for how logging should be handled

Signature:
static setConfig: (params?: Partial<LogMoreConfig<LogEventConfig<import("./types").ResultConfig<import("@log-more/base").CallbackFunction<unknown, import("@log-more/base").IResult<unknown, any, any>, unknown, import("@log-more/base").IResult<unknown, any, any>>>, import("./types").ReportConfig<import("./types").FormatFunction<unknown, Result<unknown>, import("@log-more/base").FormattedData, import("@log-more/base").Report<import("@log-more/base").FormattedData>, Result<import("@log-more/base").Report<import("@log-more/base").FormattedData>>>, import("./types").CaptureFunction<import("@log-more/base").FormattedData, import("@log-more/base").Report<import("@log-more/base").FormattedData>, unknown, Result<unknown>>, import("./types").ReportFunction<unknown, Result<unknown>, unknown, Result<unknown>>>>, import("@log-more/base").UserConfig>> | undefined) => Result;