Convenience function that wraps common logging initialization steps.
initializeLogging(logDir = NULL, filePrefix = "", createDir = TRUE)
Directory in which to write log files.
Character string prepended to log files.
Logical specifying whether to create a missing logDir
or issue an error message.