hestia_earth.validation.log.log_to_file

hestia_earth.validation.log.log_to_file(filepath)[source]

By default, all logs are saved into a file with path stored in the env variable LOG_FILENAME. If you do not set the environment variable LOG_FILENAME, you can use this function with the file path.

Parameters:

filepath (str) – Path of the file.