Create a Log Table if it does not already exist. A log table consists of a user-defined timestamp field, followed by activity and status fields.
create_log( datetime_field = "log_datetime", conn, conn_fun, schema, log_table, verbose = TRUE, render_sql = TRUE, render_only = FALSE )
| datetime_field | Name of the datetime field. Defaults to |
|---|---|
| conn | Connection object |
| schema | The target schema for the operation. |
| log_table | Log table name |
| verbose | If TRUE, details on the activity are returned in the console, such as when the querying starting and was completed. |
| render_sql | If TRUE, the SQL statement for the operation is returned in the console. |
Other logging functions:
log_error_ff(),
log_start_ff(),
log_stop_ff()