NPM Build Utilities @ 0.1.3
    Preparing search index...

    Interface ArgsInternal

    Input configuration for logError function.

    0.1.0-alpha

    interface Args {
        console: Logger;
        fs: FileSystemType;
        date?: Date;
        errMsg?: string;
        outputWarning?: boolean;
    }
    Index

    Properties

    console: Logger

    Instance to use for outputting messages, if any. Only used as errorStringify param and to fetch config.

    Instance to use for dealing with paths and files. Used for errorStringify, for writeLog, and to include the relative path in the output message.

    date?: Date

    The date object to use for the error log. Otherwise constructs a new date object.

    errMsg?: string

    Message to prepend to the error output in the error log. Best to include information on why/where this error was caught. If null, logMsg param is used instead.

    outputWarning?: boolean

    Whether to supress output to console (via console.warn) before return.

    true