----------------------------------------------------------------------------- setup_log_objects Construct: All custom objects. Upon return from this function: - global_object_list has the aforementioned objects - global_filter_list has all custom filters
| 391 | // - global_filter_list has all custom filters |
| 392 | // |
| 393 | void |
| 394 | LogConfig::setup_log_objects() |
| 395 | { |
| 396 | Dbg(dbg_ctl_log, "creating objects..."); |
| 397 | |
| 398 | filter_list.clear(); |
| 399 | |
| 400 | // Evaluate logging.yaml to construct the custom log objects. |
| 401 | evaluate_config(); |
| 402 | |
| 403 | // Open local pipes so readers can see them. |
| 404 | log_object_manager.open_local_pipes(); |
| 405 | |
| 406 | if (dbg_ctl_log.on()) { |
| 407 | log_object_manager.display(); |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | /*------------------------------------------------------------------------- |
| 412 | LogConfig::reconfigure |
nothing calls this directly
no test coverage detected