Function r3bl_rs_utils_core::utils::file_logging::try_to_set_log_file_path
source · pub fn try_to_set_log_file_path(path: &'static str) -> CommonResult<String>
Expand description
Please take a look at try_to_set_log_level to enable or disable logging.
If you want to override the default log file path (stored in FILE_PATH), you can use this function. If the logger has already been initialized, then it will return a CommonErrorType::InvalidState error.
If you would like to ignore the error just call ok()
on the result that’s returned. More
info.