v0.13.1
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MoFEM::LogManager::InternalData Struct Reference
Inheritance diagram for MoFEM::LogManager::InternalData:
[legend]
Collaboration diagram for MoFEM::LogManager::InternalData:
[legend]

Classes

class  SelfStreamBuf
 
struct  SynchronizedStreamBuf
 
struct  WorldStreamBuf
 

Public Member Functions

boost::shared_ptr< std::ostream > getStrmSelf ()
 
boost::shared_ptr< std::ostream > getStrmWorld ()
 
boost::shared_ptr< std::ostream > getStrmSync ()
 
 InternalData (MPI_Comm comm)
 
virtual ~InternalData ()=default
 

Public Attributes

SelfStreamBuf selfBuf
 
WorldStreamBuf worldBuf
 
SynchronizedStreamBuf syncBuf
 
std::ostream strmSelf
 
std::ostream strmWorld
 
std::ostream strmSync
 

Static Public Attributes

static bool logQuiet = false
 
static bool noColors = false
 
static bool sinksAdd = true
 
static bool logTime = false
 
static std::map< std::string, LoggerTypelogChannels
 

Detailed Description

Definition at line 36 of file LogManager.cpp.

Constructor & Destructor Documentation

◆ InternalData()

MoFEM::LogManager::InternalData::InternalData ( MPI_Comm  comm)
inline

Definition at line 105 of file LogManager.cpp.

◆ ~InternalData()

virtual MoFEM::LogManager::InternalData::~InternalData ( )
virtualdefault

Member Function Documentation

◆ getStrmSelf()

boost::shared_ptr< std::ostream > MoFEM::LogManager::InternalData::getStrmSelf ( )
inline

Definition at line 95 of file LogManager.cpp.

95 {
96 return boost::shared_ptr<std::ostream>(shared_from_this(), &strmSelf);
97 }

◆ getStrmSync()

boost::shared_ptr< std::ostream > MoFEM::LogManager::InternalData::getStrmSync ( )
inline

Definition at line 101 of file LogManager.cpp.

101 {
102 return boost::shared_ptr<std::ostream>(shared_from_this(), &strmSync);
103 }

◆ getStrmWorld()

boost::shared_ptr< std::ostream > MoFEM::LogManager::InternalData::getStrmWorld ( )
inline

Definition at line 98 of file LogManager.cpp.

98 {
99 return boost::shared_ptr<std::ostream>(shared_from_this(), &strmWorld);
100 }

Member Data Documentation

◆ logChannels

std::map< std::string, LogManager::LoggerType > MoFEM::LogManager::InternalData::logChannels
static

Definition at line 93 of file LogManager.cpp.

◆ logQuiet

bool MoFEM::LogManager::InternalData::logQuiet = false
static

Definition at line 88 of file LogManager.cpp.

◆ logTime

bool MoFEM::LogManager::InternalData::logTime = false
static

Definition at line 91 of file LogManager.cpp.

◆ noColors

bool MoFEM::LogManager::InternalData::noColors = false
static

Definition at line 89 of file LogManager.cpp.

◆ selfBuf

SelfStreamBuf MoFEM::LogManager::InternalData::selfBuf

Definition at line 80 of file LogManager.cpp.

◆ sinksAdd

bool MoFEM::LogManager::InternalData::sinksAdd = true
static

Definition at line 90 of file LogManager.cpp.

◆ strmSelf

std::ostream MoFEM::LogManager::InternalData::strmSelf

Definition at line 84 of file LogManager.cpp.

◆ strmSync

std::ostream MoFEM::LogManager::InternalData::strmSync

Definition at line 86 of file LogManager.cpp.

◆ strmWorld

std::ostream MoFEM::LogManager::InternalData::strmWorld

Definition at line 85 of file LogManager.cpp.

◆ syncBuf

SynchronizedStreamBuf MoFEM::LogManager::InternalData::syncBuf

Definition at line 82 of file LogManager.cpp.

◆ worldBuf

WorldStreamBuf MoFEM::LogManager::InternalData::worldBuf

Definition at line 81 of file LogManager.cpp.


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