| 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 |
nothing calls this directly
no test coverage detected