| 16 | { |
| 17 | protected: |
| 18 | LogConfigFixture() |
| 19 | { |
| 20 | auto sync_binary_sink = std::make_shared<SyncProcessor>(std::make_shared<BinaryLayout>()); |
| 21 | sync_binary_sink->appenders().push_back(std::make_shared<FileAppender>(_binary_file)); |
| 22 | Config::ConfigLogger("sync-binary", sync_binary_sink); |
| 23 | |
| 24 | auto sync_text_sink = std::make_shared<SyncProcessor>(std::make_shared<TextLayout>()); |
| 25 | sync_text_sink->appenders().push_back(std::make_shared<FileAppender>(_text_file)); |
| 26 | Config::ConfigLogger("sync-text", sync_text_sink); |
| 27 | |
| 28 | Config::Startup(); |
| 29 | } |
| 30 | |
| 31 | ~LogConfigFixture() |
| 32 | { |
nothing calls this directly
no outgoing calls
no test coverage detected