beamlime.logging.resources.initialize_log_dir#

beamlime.logging.resources.initialize_log_dir(dir_path)[source]#

Create the directory including parents if needed and returns True. Raises FileExistsError if dir_path is an existing file, not a directory.

Return type:

logging.resources.DirectoryCreated (bool)