https://github.com/WLOGSolutions/r-logging
R port of the popular log4j logging module
https://github.com/WLOGSolutions/r-logging
Last synced: 4 months ago
JSON representation
R port of the popular log4j logging module
- Host: GitHub
- URL: https://github.com/WLOGSolutions/r-logging
- Owner: WLOGSolutions
- Created: 2012-04-20T07:40:13.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2021-11-25T11:14:14.000Z (over 3 years ago)
- Last Synced: 2024-11-15T03:10:46.407Z (5 months ago)
- Language: R
- Size: 219 KB
- Stars: 55
- Watchers: 4
- Forks: 18
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - WLOGSolutions/r-logging - R port of the popular log4j logging module (R)
README
| Travis | Total downloads | Downloads | CRAN version |
| :----------------: | :----------------: | :----------------: | :----------------: |
| [](https://travis-ci.com/WLOGSolutions/r-logging) | [](http://cranlogs.r-pkg.org/badges/grand-total/logging)| [](https://cranlogs.r-pkg.org/badges/logging)| [](http://www.r-pkg.org/badges/version/logging)|
r-logging
=========R port of the popular Python logging package.
It implements hierarchical logging, multiple handlers at a single logger, formattable log records...
What you find here behaves similarly to what you also find in Python's standard logging module.
Far from being comparable to a Python standard module, this tiny logging module does include
- hierarchic loggers,
- multiple handlers at each logger,
- the possibility to specify a formatter for each handler (one default formatter is given),
- same levels (names and numeric values) as Python's logging package,
- a simple basicConfig function to quickly put yourself in a usable situation...- some sample handlers, sending log records
- to the console,
- to a filefor more information, have a look at the [online tutorial] (http://logging.r-forge.r-project.org/sample_session.php)
on [r-forge] (http://r-forge.r-project.org/).installation
============
Simply call
```
devtools::install_github("WLOGSolutions/r-logging/pkg")
```