Aktualizr
C++ SOTA Client
logging_config.h
1 #ifndef LOGGING_CONFIG_H
2 #define LOGGING_CONFIG_H
3 
4 #include <boost/property_tree/ini_parser.hpp>
5 #include <ostream>
6 
7 struct LoggerConfig {
8  int loglevel{2};
9 
10  void updateFromPropertyTree(const boost::property_tree::ptree& pt);
11  void writeToStream(std::ostream& out_stream) const;
12 };
13 
14 #endif // LOGGING_CONFIG