logInfo: Log a message at the INFO level

View source: R/Logging.R

logInfoR Documentation

Log a message at the INFO level

Description

Log a message at the INFO level

Usage

logInfo(...)

Arguments

...

Zero or more objects which can be coerced to character (and which are pasted together with no separator).

Details

Log a message at the specified level. The message will be sent to all the registered loggers. This is equivalent to calling R's native message() function.

Examples

appender <- createConsoleAppender(layout = layoutTimestamp)

logger <- createLogger(name = "SIMPLE",
                       threshold = "INFO",
                       appenders = list(appender))
registerLogger(logger)                      
logTrace("This event is below the threshold (INFO)")
logInfo("Hello world")                       
unregisterLogger("SIMPLE")                     

ParallelLogger documentation built on June 7, 2022, 5:05 p.m.