Writes a warning message to the log. Warning will be written both to the log at the point the function is called, and also written to the message file. This function is used internally.
log_warning(msg = NULL)
The message to log.
log_error
to write an error message to the log.