NetSuite FastTrack Toolkit (NFT) - v8.0.0
    Preparing search index...

    Interface AutoLogConfig

    Configuration options for the autologging feature. These options are optional and can be passed to the autolog() function to customize the logging behavior.

    interface AutoLogConfig {
        logger?: Logger;
        logLevel?: number;
        withArgs?: boolean;
        withGovernance?: boolean;
        withProfiling?: boolean;
        withReturnValue?: boolean;
    }
    Index

    Properties

    logger?: Logger

    Name of logger to use for autologging, defaults to 'default'

    logLevel?: number

    The logging level autologging uses - defaults to 'debug'

    withArgs?: boolean

    set true to include automatically include passed method arguments in the logs

    withGovernance?: boolean

    If true, includes governance before and after function execution

    withProfiling?: boolean

    If true, including function (execution time) statistics

    withReturnValue?: boolean

    If true, includes the function return value in the log