beamlime.logging.resources#

Functions

check_file_handlers(logger)

Raises RuntimeError if any files attached to file handlers do not exist.

create_log_file_name(*[, prefix, extension])

Combine prefix, time_tag and suffix into a new file name.

create_log_file_path(*, directory_ready, ...)

Create a log file path joining parent_dir and file_name.

create_utc_time_without_microsecond()

Create a UTC time tag without microsecond.

initialize_log_dir(dir_path)

Create the directory including parents if needed and returns True.

validate_log_file_prefix(prefix)

Log file prefix should not contain any underscores.