[−][src]Function wdinfo::file_status::log_config_path

pub fn log_config_path() -> Result<String, &'static str>

get root path for config/log4rs.yaml

detail

get root path of development (debug or release) or production

- the sub folder config and log is under root.
- For debug development, executable file is under root/target/debug
- For release development, executable file is under root/target/release
- For production, executable file is under root directly