NPM Build Utilities @ 0.1.3
    Preparing search index...

    Function logError

    • Internal

      Writes the content of an error to a log file and outputs (to the console) a confirmation message with the path to the log file.

      Parameters

      • logMsg: string

        Message to prepend to the return for output to the console.

      • error: unknown

        Caught error to stringify (via errorStringify) and add to the log.

      • level: number

        Depth level for output to the console.

      • args: logError.Args

        Extra configuration for the function. See logError.Args.

      Returns BulkMsgs

      Message that was output to the console, with a link to the log file if written successfully.

      0.1.0-alpha