logInfo {ParallelLogger}R 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")                     

[Package ParallelLogger version 3.3.0 Index]