Initializing a Log Function
initLogfunction.RdThis function initialize the logging during a workflow. It is called at the start of the workflow script. It is used to configure options for the log file folder, warnings which should not logged and messages which should not logged.
Usage
initLogfunction(
projectConfiguration,
warningsNotDisplayed = c("introduced infinite values",
"Each group consists of only one observation", "rows containing non-finite values",
"rows containing missing values", "Ignoring unknown parameters",
"was deprecated in ggplot2", "font family not found in Windows font database",
"mbcsToSbcs"),
messagesNotDisplayed = c("Each group consists of only one observation"),
verbose = TRUE
)Arguments
- projectConfiguration
Object of class `ProjectConfiguration` containing information on paths and file names
- warningsNotDisplayed
A list of warnings that should not be logged.
- messagesNotDisplayed
A list of messages that should not be logged.
- verbose
boolean, if true log message will be shown on the console
See also
Other log file management:
addMessageToLog(),
captureLog(),
saveSessionInfo(),
setShowLogMessages(),
writeTableToLog(),
writeToLog()