This logger uses futile.logger to implement logging functionality

logger(jug, threshold = futile.logger::DEBUG, log_file = NULL,
  console = TRUE)

Arguments

jug

a jug instance

threshold

the threhold as from what type of message to activate the logger (check the documentation of futile.logger for possibilities)

log_file

if given, the file to which the log is written

console

if TRUE will (also) print to console