Toggle Logger
The toggle_logger()
function in the reportifyr
package adjusts the global logging level for the package.
toggle_logger()
Returns
A log4r
logger object is assigned to the .le
environment at .le$logger
.
Assigned Logging Levels
The following logging levels are assigned and used throughout the reportifyr
package:
-
DEBUG
: Most verbose level, including detailed workflow progress prompts. -
INFO
: General workflow progress prompts. -
WARN
: Default, displays potential issues and warnings. -
ERROR
: Reports events that cause the function to fail.
There is an additional logging level, FATAL
, that is not currently used.
Additional Resources
- reportifyr GitHub: Refer to the
reportifyr
repository for more details. - log4r Reference Manual: Refer to the
log4r
reference manual for specific inquiries related tolog4r
.