seasonder_logArchiver: Archive Log Entries

View source: R/seasonder_log.R

seasonder_logArchiverR 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()

SeaSondeR documentation built on June 8, 2025, 10:50 a.m.