makeLogger: Create a Logger Function

Description Usage Arguments

View source: R/makeLogger.R

Description

Create a logger function which can be used to store status output either to a file or stdout. A logger function is a function which accepts any number of arguments via the ellipse parameter .... These arguments are concatenated via paste(..., sep="", collapse="") and printed to the destination. The destination might be a file or the console or whatever.

Usage

1
makeLogger(logging, cores = 1L)

Arguments

logging

should progress information be printed: either TRUE for printing to the console via print, FALSE for no logging, or a path to a file receiving logging information

cores

the number of processing cores. This is not really relevant itself, but (>1L will issue a warning for console-based logging.


thomasWeise/utilizeR documentation built on May 30, 2019, 11:48 a.m.