loggit icon indicating copy to clipboard operation
loggit copied to clipboard

Modern Logging for the R Ecosystem

Results 15 loggit issues
Sort by recently updated
recently updated
newest added

This PR addresses #20 and fixes an issue when `nrow(log_df) - rotate_lines + 1` leads to negative row index.

Thanks for the great tool. As far as I can see in the source code, the log files are not automatically rotated. I would suggest the following implementation: - add...

In the current loggit.R, echoing of log message is handled by write_ndjson() `write_ndjson(log_df, echo = echo)` https://github.com/ryapric/loggit/blob/5399852eed343fba22d4bfc488a4a950f138e414/R/loggit.R#L83 which in turn calls cat() if echo = T. `if (echo) cat(logdata, sep...

enhancement

Run some `R CMD check`s to confirm which versions, but 3.6.0 failed, as did 3.4.0 (which is the minimum version currently in the `DESCRIPTION` file).

bug

In order to allow for conformance to a corporate logging standard, it would be helpful to allow renaming the default log fields in a configuration block of some sort. For...

enhancement

Current behavior is a consequence of R's vectorization. This might take some fudging, since R would then read in the values as arrays into a single df cell, vs. separate...

enhancement

Thank you for this very useful tool! Unfortunately, `rotate_logs()` will cause an error ("Error in xj[i] : only 0's may be mixed with negative subscripts") if there are less than...

`stopifnot` is also a base condition function and should therefore be supported