pub fn parse_config(args: &LoggingArgs) -> Result<Config, CliFlagsError>
Ported from ParseConfig.
ParseConfig