Electroneum
el::Loggers::ScopedRemoveFlag Class Reference

Removes flag and add it when scope goes out. More...

#include <easylogging++.h>

Public Member Functions

 ScopedRemoveFlag (LoggingFlag flag)
 
 ~ScopedRemoveFlag (void)
 

Detailed Description

Removes flag and add it when scope goes out.

Definition at line 3932 of file easylogging++.h.

Constructor & Destructor Documentation

◆ ScopedRemoveFlag()

el::Loggers::ScopedRemoveFlag::ScopedRemoveFlag ( LoggingFlag  flag)
inline

Definition at line 3934 of file easylogging++.h.

3934  : m_flag(flag) {
3935  Loggers::removeFlag(m_flag);
3936  }
static void removeFlag(LoggingFlag flag)
Removes logging flag used internally.
Here is the call graph for this function:

◆ ~ScopedRemoveFlag()

el::Loggers::ScopedRemoveFlag::~ScopedRemoveFlag ( void  )
inline

Definition at line 3937 of file easylogging++.h.

3937  {
3938  Loggers::addFlag(m_flag);
3939  }
static void addFlag(LoggingFlag flag)
Adds logging flag used internally.
Here is the call graph for this function:

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