search for: addlogger

Displaying 1 result from an estimated 1 matches for "addlogger".

2009 Jul 20
1
Application logging in R
...es: library(futile) # Use the ROOT logger logger.info("Hello, world") logger.debug("Won't print since level is currently INFO") setLogger('ROOT', level='DEBUG') logger.debug("This will %s print", 'now') # Create new loggers addLogger('a.logger', 'WARN', logger.stdout) addLogger('b.logger', 'INFO', logger.file, file='temp.log') object <- 1 logger.debug("This is a %s", class(object), logger='a.logger') logger.warn("This is a %s", class(object), logger=...