Fray Engine
Loading...
Searching...
No Matches
fray::log::ConsoleSuppression Class Reference

Keeps lines in the persistent log but out of the Console for this thread's scope. More...

#include <log_manager.hpp>

Public Member Functions

 ConsoleSuppression ()
 Suppresses Console delivery on the calling thread.
 ~ConsoleSuppression ()
 Restores the previous Console visibility.
 ConsoleSuppression (const ConsoleSuppression &)=delete
ConsoleSuppression & operator= (const ConsoleSuppression &)=delete

Private Attributes

bool _previous

Detailed Description

Keeps lines in the persistent log but out of the Console for this thread's scope.

Definition at line 375 of file log_manager.hpp.

Constructor & Destructor Documentation

◆ ConsoleSuppression() [1/2]

fray::log::ConsoleSuppression::ConsoleSuppression ( )
inline

Suppresses Console delivery on the calling thread.

Definition at line 380 of file log_manager.hpp.

◆ ~ConsoleSuppression()

fray::log::ConsoleSuppression::~ConsoleSuppression ( )
inline

Restores the previous Console visibility.

Definition at line 382 of file log_manager.hpp.

◆ ConsoleSuppression() [2/2]

fray::log::ConsoleSuppression::ConsoleSuppression ( const ConsoleSuppression & )
delete

Member Function Documentation

◆ operator=()

ConsoleSuppression & fray::log::ConsoleSuppression::operator= ( const ConsoleSuppression & )
delete

Member Data Documentation

◆ _previous

bool fray::log::ConsoleSuppression::_previous
private

Definition at line 377 of file log_manager.hpp.


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