write_log {rBiasCorrection} | R Documentation |
write_log helper function
Description
Internal function to write log-messages to the file specified in logfilename.
Usage
write_log(message, logfilename)
Arguments
message |
A character string containing the log message. |
logfilename |
A character string. Path to the logfile to save the log messages. |
Value
The function prints the logging message to the console and writes it to the local logfile, specified with 'logfilename'.
Examples
message <- "This is a logmessage"
logfilename <- paste0(tempdir(), "/log.txt")
write_log(message, logfilename)
[Package rBiasCorrection version 0.3.4 Index]