@nevware21/ts-debug-providers
    Preparing search index...

    Interface IDbgCallbackProviderConfig

    Defines the configuration options for the callback debug provider.

    import { $Dbg } from "@nevware21/ts-debug";
    import { createCallbackProvider } from "@nevware21/ts-debug-provider";

    // Set the config to enable debug messages to be displayed
    // to the console
    let dbgConfig = {
    lvl: DblLevel.Debug,
    cb: () => {
    }
    };

    let provider = createCallbackProvider(dbgConfig);
    $Dbg.addProvider(provider);
    interface IDbgCallbackProviderConfig {
        cb: (logDetails: IDbgMemoryLog) => void;
        lvl?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    cb: (logDetails: IDbgMemoryLog) => void

    The callback function to call when logging a message

    lvl?: number

    The maximum log message level each provider will have its own default value.

    // Set the config to enable debug messages to be displayed
    // to the console
    let dbgConfig = {
    lvl: DblLevel.Debug
    };