Utility TypeScript @ 2.0.0-beta.5
    Preparing search index...

    Interface VarDumpMethods

    2.0.0-beta.3

    interface VarDumpMethods {
        debug: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
            },
        ) => void;
        error: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
            },
        ) => void;
        log: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
            },
        ) => void;
        timestamp: {
            debug: (
                variable: { [key: string]: unknown },
                args?: Partial<VariableInspector.Args> & {
                    msg?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                    >;
                    time?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Partial<
                            Omit<(...), (...)> & { date: ...; stamp: ... },
                        >,
                    >;
                },
            ) => void;
            error: (
                variable: { [key: string]: unknown },
                args?: Partial<VariableInspector.Args> & {
                    msg?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                    >;
                    time?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Partial<
                            Omit<(...), (...)> & { date: ...; stamp: ... },
                        >,
                    >;
                },
            ) => void;
            log: (
                variable: { [key: string]: unknown },
                args?: Partial<VariableInspector.Args> & {
                    msg?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                    >;
                    time?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Partial<
                            Omit<(...), (...)> & { date: ...; stamp: ... },
                        >,
                    >;
                },
            ) => void;
            verbose: (
                variable: { [key: string]: unknown },
                args?: Partial<VariableInspector.Args> & {
                    msg?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                    >;
                    time?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Partial<
                            Omit<(...), (...)> & { date: ...; stamp: ... },
                        >,
                    >;
                },
            ) => void;
            warn: (
                variable: { [key: string]: unknown },
                args?: Partial<VariableInspector.Args> & {
                    msg?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                    >;
                    time?: RecursivePartial<
                        Partial<MessageMaker.MsgArgs> & Partial<
                            Omit<(...), (...)> & { date: ...; stamp: ... },
                        >,
                    >;
                },
            ) => void;
        };
        verbose: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
            },
        ) => void;
        warn: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
            },
        ) => void;
    }
    Index

    Properties

    debug: (
        variable: { [key: string]: unknown },
        args?: Partial<VariableInspector.Args> & {
            msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
        },
    ) => void

    Output an inspection of the given variable to the console as debug info.

    Type Declaration

    2.0.0-beta.3

    error: (
        variable: { [key: string]: unknown },
        args?: Partial<VariableInspector.Args> & {
            msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
        },
    ) => void

    Output an inspection of the given variable to the console as error info.

    Type Declaration

    2.0.0-beta.3

    log: (
        variable: { [key: string]: unknown },
        args?: Partial<VariableInspector.Args> & {
            msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
        },
    ) => void

    Output an inspection of the given variable to the console.

    Type Declaration

    2.0.0-beta.3 — Renamed from NodeConsole.varDump to NodeConsole.vi.log and updated params.

    timestamp: {
        debug: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                >;
                time?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Partial<
                        Omit<(...), (...)> & { date: ...; stamp: ... },
                    >,
                >;
            },
        ) => void;
        error: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                >;
                time?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Partial<
                        Omit<(...), (...)> & { date: ...; stamp: ... },
                    >,
                >;
            },
        ) => void;
        log: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                >;
                time?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Partial<
                        Omit<(...), (...)> & { date: ...; stamp: ... },
                    >,
                >;
            },
        ) => void;
        verbose: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                >;
                time?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Partial<
                        Omit<(...), (...)> & { date: ...; stamp: ... },
                    >,
                >;
            },
        ) => void;
        warn: (
            variable: { [key: string]: unknown },
            args?: Partial<VariableInspector.Args> & {
                msg?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Omit<TimestampedArgs, "time">,
                >;
                time?: RecursivePartial<
                    Partial<MessageMaker.MsgArgs> & Partial<
                        Omit<(...), (...)> & { date: ...; stamp: ... },
                    >,
                >;
            },
        ) => void;
    }

    For outputting var dumps prepended with a timestamp.

    Type Declaration

    verbose: (
        variable: { [key: string]: unknown },
        args?: Partial<VariableInspector.Args> & {
            msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
        },
    ) => void

    Output an inspection of the given variable to the console as additional info.

    Type Declaration

    warn: (
        variable: { [key: string]: unknown },
        args?: Partial<VariableInspector.Args> & {
            msg?: RecursivePartial<Partial<MessageMaker.MsgArgs> & BulkMsgArgs>;
        },
    ) => void

    Output an inspection of the given variable to the console as a warning.

    Type Declaration