Internal function adding a record to the log.
appendLog(event, name)
Provides a new record in the log. If the log does not exist a new one is created before appending the new record when the log target is configured to be files. When logging to a database this have to be set up in advance.
data.frame of one record holding the fields of whatever that is to be logged.
String defining the name of the log, currently one of "appLog" or "reportLog".