dynamic-forms / Function

shouldLog

Checks if logging should occur at the specified level.

Presentation

function shouldLog(
  config: DerivationLogConfig,
  minLevel: "summary" | "verbose",
): boolean;

Returns

boolean -

True if logging should occur

Parameters

NameTypeDescription
config
DerivationLogConfig

Current log configuration

minLevel
"summary" | "verbose"

Minimum level required for logging