add "logfile" option to log diagnostics to file using boost (#13931)

add some logging options

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
Tobias Gloth
2026-06-04 01:28:51 -04:00
committed by GitHub
parent 58a8722a69
commit dc5d6b45de
4 changed files with 17 additions and 0 deletions

View File

@@ -129,6 +129,11 @@ void set_logging_level(unsigned int level)
);
}
void set_logging_file(const std::string &file)
{
boost::log::add_file_log(file);
}
unsigned int level_string_to_boost(std::string level)
{
std::map<std::string, int> Control_Param;