# NOT RUN {
#Create a "default" log file instance
log_file()
#Create a log file instance that only checks errors
log_file("errors_only_thanks.log", ERROR, CRITICAL,
.warning = FALSE, .message = FALSE)
# }
Run the code above in your browser using DataLab