seasonder_logArchiver {SeaSondeR} | R Documentation |
Archive Log Entries
Description
Archives log entries based on their levels: INFO, ERROR, or FATAL. If paths are not provided, temporary files will be used.
Usage
seasonder_logArchiver(
log_path = NULL,
log_info_path = log_path,
log_error_path = log_info_path,
log_fatal_path = log_error_path
)
Arguments
log_path |
Path to the main log file. |
log_info_path |
Path to the INFO level log file. |
log_error_path |
Path to the ERROR level log file. |
log_fatal_path |
Path to the FATAL level log file. |
Value
When temporary files are used, returns a character string with the main log file path; otherwise, returns an invisible value indicating that logs were archived.
Examples
seasonder_logArchiver()
[Package SeaSondeR version 0.2.8 Index]