An open API service indexing awesome lists of open source software.

https://github.com/devOpifex/log

A logger for R
https://github.com/devOpifex/log

logging r rstats

Last synced: about 1 month ago
JSON representation

A logger for R

Awesome Lists containing this project

README

        

[![R-CMD-check](https://github.com/devOpifex/log/workflows/R-CMD-check/badge.svg)](https://github.com/devOpifex/log/actions)
[![codecov](https://codecov.io/gh/devOpifex/log/branch/master/graph/badge.svg?token=AWAEDORHEU)](https://app.codecov.io/gh/devOpifex/log)

[Docs](https://log.opifex.org)

A logger for R inspired by go’s standard library log package.

## Example

```r
log <- Logger$new(prefix = "INFO")

log$log("Something")
#> INFO Something

log$log("Something else")
#> INFO Something else
```

## Code of Conduct

Please note that the log project is released with a [Contributor Code of
Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.