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

#include <toolbox/sys/Logger.hpp>

Public Member Functions

 ScopedLogLevel (LogLevel level) noexcept
 
 ~ScopedLogLevel ()
 
 ScopedLogLevel (const ScopedLogLevel &)=delete
 
ScopedLogLeveloperator= (const ScopedLogLevel &)=delete
 
 ScopedLogLevel (ScopedLogLevel &&)=delete
 
ScopedLogLeveloperator= (ScopedLogLevel &&)=delete
 

Detailed Description

ScopedLogLevel provides a convenient RAII-style utility for setting the log-level for the duration of a scoped block.

Definition at line 160 of file Logger.hpp.

Constructor & Destructor Documentation

◆ ScopedLogLevel() [1/3]

toolbox::sys::ScopedLogLevel::ScopedLogLevel ( LogLevel  level)
inlineexplicitnoexcept

Definition at line 162 of file Logger.hpp.

◆ ~ScopedLogLevel()

toolbox::sys::ScopedLogLevel::~ScopedLogLevel ( )
inline

Definition at line 166 of file Logger.hpp.

◆ ScopedLogLevel() [2/3]

toolbox::sys::ScopedLogLevel::ScopedLogLevel ( const ScopedLogLevel )
delete

◆ ScopedLogLevel() [3/3]

toolbox::sys::ScopedLogLevel::ScopedLogLevel ( ScopedLogLevel &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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