Scorum
log_configurator.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <boost/program_options.hpp>
4 #include <boost/filesystem.hpp>
5 
6 #include <iostream>
7 
8 #include <fc/log/logger_config.hpp>
9 
10 namespace logger {
11 
12 void set_logging_program_options(boost::program_options::options_description& options);
13 fc::optional<fc::logging_config> load_logging_config_from_options(const boost::program_options::variables_map& args,
14  const boost::filesystem::path& pwd);
15 }
fc::optional< fc::logging_config > load_logging_config_from_options(const boost::program_options::variables_map &args, const boost::filesystem::path &pwd)
void set_logging_program_options(boost::program_options::options_description &options)