Activate logging with loggr

plant_log_console(..., .message = FALSE, .warning = FALSE, .error = FALSE)

Arguments

...

Additional parameters passed to loggr::log_file, but not file_name which is hard coded here to "console".

.message, .warning, .error

Include messages, warnings or errors? By default (and in contrast to loggr::log_file these are disabled here.

Details

By default plant prints little information about its progress. This can be modified by enabling logging. A formatter that is different to the default loggr::log_file formatter is selected here; it will print additional information that plant's internal logging functions record.

"Schedule" events (splitting) are sent to the DEBUG stream, everything else is sent to INFO. All events have a "routine" field added to them, which is useful if sent to a Redis server (using loggr.redis).