search for: setlogger

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

Did you mean: getlogger
2009 Jul 20
1
Application logging in R
...ut. The output can be anything from stdout, a file, a URL, to a message bus, depending on the implementation. Here are some quick examples: 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...