Utility function which writes gran logs
writeGRANLog(pkg, msg, type = "full", logfile, errfile, pkglog = NULL)
The name of the package the log is about
The log message, collapsed if length>1
"full", "error", "warn", or "both" indicating which log(s) the message should be written to
The location of the full log file to write/append to
the location of the error log file to write/append to
character. The package-specific log file to write to if applicable.