Set a directory path for saving a log file.
folder (str) – Folder path to save the log file.
level (int) – Level of verbosity to set to the logger.