Learn R Programming

ParallelLogger (version 1.1.1)

addDefaultConsoleLogger: Add the default console logger

Description

Add the default console logger

Usage

addDefaultConsoleLogger()

Arguments

Details

Creates a logger that writes to the console using the "INFO" threshold and the layoutSimple layout.

Examples

Run this code
# NOT RUN {
logger <- addDefaultConsoleLogger()
logTrace("This event is below the threshold (INFO)")
logInfo("Hello world")                       
unregisterLogger(logger)  

# }

Run the code above in your browser using DataLab