InternalInternalconsoleInstance to use for outputting messages, if any. Only used as errorStringify param and to fetch config.
InternalfsInstance to use for dealing with paths and files. Used for errorStringify, for writeLog, and to include the relative path in the output message.
Optional InternaldateThe date object to use for the error log. Otherwise constructs a new date object.
Optional InternalerrMessage 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.
Optional InternaloutputWhether to supress output to console (via console.warn) before
return.
Input configuration for logError function.
Since
0.1.0-alpha