Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::sys::ScopedLogger Class Reference

#include <toolbox/sys/Logger.hpp>

Public Member Functions

 ScopedLogger (Logger &logger) noexcept
 
 ~ScopedLogger ()
 
 ScopedLogger (const ScopedLogger &)=delete
 
ScopedLoggeroperator= (const ScopedLogger &)=delete
 
 ScopedLogger (ScopedLogger &&)=delete
 
ScopedLoggeroperator= (ScopedLogger &&)=delete
 

Detailed Description

ScopedLogger provides a convenient RAII-style utility for setting the backend logger for the duration of a scoped block.

Definition at line 182 of file Logger.hpp.

Constructor & Destructor Documentation

◆ ScopedLogger() [1/3]

toolbox::sys::ScopedLogger::ScopedLogger ( Logger logger)
inlineexplicitnoexcept

Definition at line 184 of file Logger.hpp.

◆ ~ScopedLogger()

toolbox::sys::ScopedLogger::~ScopedLogger ( )
inline

Definition at line 188 of file Logger.hpp.

◆ ScopedLogger() [2/3]

toolbox::sys::ScopedLogger::ScopedLogger ( const ScopedLogger )
delete

◆ ScopedLogger() [3/3]

toolbox::sys::ScopedLogger::ScopedLogger ( ScopedLogger &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

ScopedLogger & toolbox::sys::ScopedLogger::operator= ( const ScopedLogger )
delete

◆ operator=() [2/2]

ScopedLogger & toolbox::sys::ScopedLogger::operator= ( ScopedLogger &&  )
delete

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