Sometimes I would like to have structured logging in order to be able to have msg in a log not as a plain string, but an easy to parse object. So it would be nice to have ability to specify on how to "translate" R's message into logging record. For example with JSON layout we can serialize R objects into json objects (and have fully machine-readable logs)
AppenderJson looks a little bit weird - it mixes both file sink and JSON formatting.
How can i have custom formatting for a package logger
When should i use get_logger(), when should i use Logger$new
Why is Logger (Appender, AppenderDigest, etc) exported
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.