|
iceberg-cpp
|
RAII guard that restores the process default logger on scope exit, so tests that swap the global default don't leak state into other tests. More...
#include <logging_test_helpers.h>
Public Member Functions | |
| ScopedDefaultLogger (std::shared_ptr< Logger > logger) | |
| ScopedDefaultLogger (const ScopedDefaultLogger &)=delete | |
| ScopedDefaultLogger & | operator= (const ScopedDefaultLogger &)=delete |
RAII guard that restores the process default logger on scope exit, so tests that swap the global default don't leak state into other tests.