{"repo":"sellorm/rlog","free":true,"listed":false,"github":"https://github.com/sellorm/rlog","clone":"git clone https://github.com/sellorm/rlog.git","description":"opinionated, lightweight logging for R","language":"R","stars":19,"topics":["r","rstats","rstats-package","logging"],"license":null,"category":"analytics","readme_excerpt":"rlog rlog is an opinionated, lightweight logging package for R. It relies on long standing Unix traditions, to write simple log messages in a flexible way. Log message output looks like this: Installation Install rlog from GitHub with the following: Does R really need another logging package? We think so, yes! There are already loads of logging packages for R. Many are no longer maintained and of the remaining selection some are overly complex, making them less approachable for beginners. Since logging should be an essential part of any production application or pipeline I think it's important that as many people as possible are introduced to good logging practice. If rlog doesn't have enough features for you, I'd recommend the excellent \"logger\" instead. rlog philosophy The rlog philosophy is the Unix philosophy and as such, we expect applications using rlog to be able to integrate with other enterprise software quickly and efficiently. rlog is simple by design and it relies on existing Unix/Linux norms to get the job done. Log message format is intentionally not configurable the log level can only be controlled by an environment variable log messages are written to standard output and standard error Usage The best way to use rlog is to call the functions directly from within your applications. There is one function per log message level: If you run this code as-is without setting a custom LOG LEVEL with the environment variable, you'll get output like this: The \"DEBUG\" and ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sellorm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sellorm/rlog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}