Description Usage Arguments Value Note See Also Examples
By default, the looger threshold is set to FATAL
so that the console
will typically receive no log messages. By setting the level to one of the other log levels:
TRACE, DEBUG, INFO, WARN, ERROR
users can see logging messages while running
commands at the command line.
1 | logger.setLevel(level)
|
level |
threshold level |
No return value.
All functionality is built on top of the excellent futile.logger package.
1 2 3 4 5 6 | ## Not run:
# Set up console logging only
logger.setup()
logger.setLevel(DEBUG)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.