Learn R Programming

logging (version 0.4-13)

basicConfig: bootstrapping the logging package

Description

create the root logger, attach it a console handler, set both at logging.level INFO.

Usage

basicConfig()

Arguments

Examples

Run this code
library(logging)
basicConfig()
logdebug("not shown, basic is INFO")
logwarn("shown and timestamped")

Run the code above in your browser using DataLab