MCPcopy Create free account
hub / github.com/davisking/dlib / configure_loggers_from_file

Function configure_loggers_from_file

dlib/logger/logger_config_file.cpp:139–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137// ----------------------------------------------------------------------------------------
138
139 void configure_loggers_from_file (
140 const std::string& file_name
141 )
142 {
143 std::ifstream fin(file_name.c_str());
144
145 if (!fin)
146 throw logger_config_file_error("logger_config: unable to open config file " + file_name);
147
148 config_reader temp(fin);
149 configure_loggers_from_file(temp);
150 }
151
152// ----------------------------------------------------------------------------------------
153

Callers

nothing calls this directly

Calls 7

set_all_logging_levelsFunction · 0.85
string_to_log_levelFunction · 0.85
configure_sub_blocksFunction · 0.85
blockMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected