- Fixed bug on creating path for message file.
- Added "stdout" option to send log output to the console instead of a file.
- Added
log_info()
function to send an informational message to the log. - Added vignette to explain logr integration with custom packages.
- Added option to control the line size on the log output.
- Added option to pass a directory name on the "logdir" parameter.
- Fixed issue with recursive warnings.
- Fixed error caused by NULL warnings and 0 frame count.
- Ensure that error and warning handlers are disconnected if log is closed.
- Added options to not print header and footer if desired.
- Added
log_suspend()
andlog_resume()
functions. - Added
log_error()
andlog_warning()
functions. - Added
get_warnings()
function.
- Fixed warnings. They are now printing as expected.
- Added line feed before other packages in log header.
- Fixed issue with UTF-8 characters in
log_code()
function. - Removed code to strip color codes inserted by crayon package.
- Changed reference from this.path() to Sys.path() to avoid breaking changes in this.path package.
- Fixed bug when passing full path and logdir parameter was TRUE.
- Updated logo.
- Added option to turn off traceback if desired.
- Added
log_close()
to error handling function so that the log will now close when an error is encountered. - Fixed bug which gave an error on some operating systems when clearing warnings.
- Added compact option to log_open to remove unnecessary blank lines. Also added global option "logr.compact" for same functionality.
- Fixed bug in elapsed time in notes.
- Added
traceback()
message when program errors.
- Fixed bug in elapsed time in log footer.
- Use current script path and name for log file name if not supplied by user.
- Added attached base packages and other packages to log header.
- Added FAQ page to documentation site.
- Added Complete Example vignette.
- Added covr and codecov
- Removed extraneous color codes from log by adding stripping function
to
log_close()
. - Added program path to log header. Can now get this using
this.path()
. - Added
log_code()
function to dump code to the log.
- Added
log_path()
function to return the path to the log. - Added
log_status()
function to return the status of the log. - Added support for Unicode characters on Windows.
- Added github action checks for 4 previous versions of R.
- Fixed printing of crayon color codes into log.
- Incorporated tidylog directly into the logr package. Can be turned on
using the 'autolog' parameter of
log_open()
, or by setting the global option 'logr.autolog'. - Added
log_hook()
function to allow other packages to call into logr. - Added pkgdown site.
- Added NEWS file.
- Added
put()
function as an alias tolog_print()
. - Added
sep()
function to create a log separator. This make the log better organized and easier to read - Fixed bug to clear any existing errors/warnings on log_open
- Fixed bug when printing tibbles to the log.
- Fixed bug when printing objects with multiple classes.
- Added
log_open()
function to open the log. - Added
log_print()
function to print to the log. - Added
log_close()
function to print to the log.