Learn R Programming

rly (version 1.7.4)

RlyLogger: Print log message to file or console.

Description

This object is a stand-in for a logging object created by the logging module. RLY will use this by default to create things such as the parser.out file. If a user wants more detailed information, they can create their own logging object and pass it into RLY. '

Usage

RlyLogger

Arguments

Format

A R6Class object

Examples

Run this code
# NOT RUN {
debuglog <- rly::RlyLogger$new(".", "file.out")
debuglog$info('This is info message')

file.remove("file.out")
# }

Run the code above in your browser using DataLab