Function produces a text file (custom message log).
messageLog( log.message, log.directory = "Logs", logfile = NULL, add.date = TRUE, appendLF = TRUE)
log.message | Text string to be exported to a text file log. |
---|---|
log.directory | File path where log file should be saved. |
logfile | Name of file to be saved. If NULL, then file will be named as
|
add.date | TRUE. Adds the date to a user provided (non-NULL) |
appendLF | TRUE. Adds log message to a file (if it already exists). |
Creates (or adds to) a log file with the text given in the "log.message" argument.
A text file with name provided in "logfile", saved in the "log.directory".