| 24 | { |
| 25 | public: |
| 26 | explicit EnvTestingSetup(const ChainType chainType = ChainType::MAIN, |
| 27 | TestOpts opts = {}) |
| 28 | : BasicTestingSetup{chainType, opts}, |
| 29 | m_prev_log_level{LogInstance().LogLevel()}, |
| 30 | m_create_sock_orig{CreateSock} |
| 31 | { |
| 32 | LogInstance().SetLogLevel(BCLog::Level::Trace); |
| 33 | } |
| 34 | |
| 35 | ~EnvTestingSetup() |
| 36 | { |
nothing calls this directly
no test coverage detected