log4r icon indicating copy to clipboard operation
log4r copied to clipboard

A log4j derivative for R.

Results 17 log4r issues
Sort by recently updated
recently updated
newest added

I worry that short names like `info`, `warn` etc are more likely to conflict with other packages so it would be nice to have a long term path to remove...

To check a little more broadly

Hi, Is there a way to have 2 appenders in the same logger but with different logging levels? For example, can I add a console appender with level INFO and...

This would require adding a dependency (albeit a very lightweight one), but it makes it much easier to include a mix of fixed text and variable data in log entries.

When using the `json_log_layout` layout for structured logging, the records are **not** separated by a newline or any other separator. ```r tmp_log [1] "{\"message\":\"hungry heart\",\"level\":\"INFO\",\"time\":\"2024-06-01T18:53:29Z\"}{\"message\":\"everybody want to rule the world\",\"level\":\"INFO\",\"time\":\"2024-06-01T18:53:29Z\"}{\"message\":\"life...

That takes advantage of the special syntax that GHA uses