iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::ScopedDefaultLogger Class Reference

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
 
ScopedDefaultLoggeroperator= (const ScopedDefaultLogger &)=delete
 

Detailed Description

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.


The documentation for this class was generated from the following file: