| 108 | } |
| 109 | state.file_path = config.file_path; |
| 110 | if (config.enabled && state.file_path.has_value() && !state.file_path->empty()) { |
| 111 | (void)logger_output_locked(state); |
| 112 | } |
| 113 | const bool active = state.config_enabled || (state.callback != nullptr); |
| 114 | logger_enabled_flag().store(active, std::memory_order_release); |
| 115 | } |
no test coverage detected