Electroneum
el::Loggers::ScopedAddFlag Class Reference

Adds flag and removes it when scope goes out. More...

#include <easylogging++.h>

Public Member Functions

 ScopedAddFlag (LoggingFlag flag)
 
 ~ScopedAddFlag (void)
 

Detailed Description

Adds flag and removes it when scope goes out.

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

Constructor & Destructor Documentation

◆ ScopedAddFlag()

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

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

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

◆ ~ScopedAddFlag()

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

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

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

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