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