目录
Travis Total downloads Downloads CRAN version
Travis build status CRAN total downloads CRAN downloads CRAN version
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 file

for 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")
关于

R语言日志记录工具

299.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号