Package: PEcAn.logger 1.8.2.9000
PEcAn.logger: Logger Functions for 'PEcAn'
Convenience functions for logging outputs from 'PEcAn', the Predictive Ecosystem Analyzer (LeBauer et al. 2017) <doi:10.1890/12-0137.1>. Enables the user to set what level of messages are printed, as well as whether these messages are written to the console, a file, or both. It also allows control over whether severe errors should stop execution of the 'PEcAn' workflow; this allows strictness when debugging and lenience when running large batches of simulations that should not be terminated by errors in individual models. It is loosely based on the 'log4j' package.
Authors:
PEcAn.logger_1.8.2.9000.tar.gz
PEcAn.logger_1.8.2.9000.zip(r-4.5)PEcAn.logger_1.8.2.9000.zip(r-4.4)PEcAn.logger_1.8.2.9000.zip(r-4.3)
PEcAn.logger_1.8.2.9000.tgz(r-4.4-any)PEcAn.logger_1.8.2.9000.tgz(r-4.3-any)
PEcAn.logger_1.8.2.9000.tar.gz(r-4.5-noble)PEcAn.logger_1.8.2.9000.tar.gz(r-4.4-noble)
PEcAn.logger_1.8.2.9000.tgz(r-4.4-emscripten)PEcAn.logger_1.8.2.9000.tgz(r-4.3-emscripten)
PEcAn.logger.pdf |PEcAn.logger.html✨
PEcAn.logger/json (API)
NEWS
# Install 'PEcAn.logger' in R: |
install.packages('PEcAn.logger', repos = c('https://pecanproject.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pecanproject/pecan/issues
bayesiancyberinfrastructuredata-assimilationdata-scienceecosystem-modelecosystem-scienceforecastingmeta-analysisnational-science-foundationpecanplants
Last updated 19 days agofrom:cab30e89b4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 20 2024 |
R-4.5-win | OK | Nov 20 2024 |
R-4.5-linux | OK | Nov 20 2024 |
R-4.4-win | OK | Nov 20 2024 |
R-4.4-mac | OK | Nov 20 2024 |
R-4.3-win | OK | Nov 20 2024 |
R-4.3-mac | OK | Nov 20 2024 |
Exports:debugifnoterrorifnotinfoifnotlogger.debuglogger.errorlogger.getLevellogger.infologger.setLevellogger.setOutputFilelogger.setQuitOnSeverelogger.setUseConsolelogger.setWidthlogger.severelogger.warnprint2stringsevereifnotwarnifnot
Dependencies:stringi
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Prints a debug message. | logger.debug |
Prints an error message. | logger.error |
Get configured logging level. | logger.getLevel |
Prints an informational message. | logger.info |
Prints a message at a certain log level. | logger.message |
Configure logging level. | logger.setLevel |
Configure logging output filename. | logger.setOutputFile |
Configure whether severe should quit. | logger.setQuitOnSevere |
Configure logging to console. | logger.setUseConsole |
Configure the number of chars per line | logger.setWidth |
Prints an severe message and stops execution. | logger.severe |
Prints a warning message. | logger.warn |
Convert the printed output of an object to a string. This is particularly useful for passing complex objects (e.g. matrices, data.frames) to simple printing functions like 'logger.info()' or 'base::message()'. | print2string |
Logger message if conditions are not met | debugifnot errorifnot infoifnot severeifnot warnifnot |