ArchUnitTS - v2.2.0
    Preparing search index...

    Interface LoggingOptions

    interface LoggingOptions {
        enabled?: boolean;
        level?: LogLevel;
        logger?: Logger;
        logTiming?: boolean;
        logViolations?: boolean;
        logProgress?: boolean;
        logFile?: boolean;
        appendToLogFile?: boolean;
    }
    Index

    Properties

    enabled?: boolean

    Whether to enable logging during check execution

    level?: LogLevel

    Minimum log level to output (defaults to 'info')

    logger?: Logger

    Custom logger implementation (defaults to console)

    logTiming?: boolean

    Whether to log rule execution start/end times

    logViolations?: boolean

    Whether to log violation details as they are found

    logProgress?: boolean

    Whether to log file processing progress

    logFile?: boolean

    If true, logs are written to a file (auto created)

    appendToLogFile?: boolean

    Whether to append to an existing log file (true) or overwrite it (false)