beamlime.logging.resources.create_log_file_path#

beamlime.logging.resources.create_log_file_path(*, directory_ready, parent_dir, file_name)[source]#

Create a log file path joining parent_dir and file_name.

Return type:

logging.resources.FileHandlerBasePath (pathlib.Path)

Notes

It does not check if the file already exists or not, therefore a file handler using this path might append logs into an existing file. This case will be rare since the log file name contains time tag down to seconds, and another file is not expected to be created within 1 second.