GEOS
|
Go to the source code of this file.
Namespaces | |
geos | |
Macros | |
#define | GEOS_LOG_LEVEL_INFO(logInfoStruct, msg) GEOS_LOG_IF( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages based on current Group's log level. More... | |
#define | GEOS_LOG_LEVEL_INFO_RANK_0(logInfoStruct, msg) GEOS_LOG_RANK_0_IF( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages (only on rank 0) based on current Group's log level. More... | |
#define | GEOS_LOG_LEVEL_INFO_BY_RANK(logInfoStruct, msg) GEOS_LOG_RANK_IF( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages (with one line per rank) based on current Group's log level. More... | |
#define | GEOS_LOG_LEVEL_INFO_RANK_0_NLR(logInfoStruct, msg) GEOS_LOG_RANK_0_IF_NLR( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages (only on rank 0) based on current Group's log level without the line return. More... | |
Functions | |
template<typename LOG_LEVEL_INFO > | |
std::enable_if_t< is_log_level_info< LOG_LEVEL_INFO >, bool > | geos::isLogLevelActive (integer level) |
Verify if a log level is active. More... | |
Variables | |
template<typename LOG_LEVEL_INFO > | |
static constexpr bool | geos::is_log_level_info |
Trait used to check whether a LOG_LEVEL_INFO structure is valid. More... | |
This file contains log level information infrastructure and the mecanism to ensure LOG_LEVEL_INFO structure is valid
Definition in file LogLevelsInfo.hpp.
#define GEOS_LOG_LEVEL_INFO | ( | logInfoStruct, | |
msg | |||
) | GEOS_LOG_IF( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages based on current Group's log level.
ThOSE 3 macros would replace the ones in Logger.hpp
[in] | logInfoStruct | Strut containing log level desscription |
[in] | msg | a message to log (any expression that can be stream inserted) |
Definition at line 66 of file LogLevelsInfo.hpp.
#define GEOS_LOG_LEVEL_INFO_BY_RANK | ( | logInfoStruct, | |
msg | |||
) | GEOS_LOG_RANK_IF( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages (with one line per rank) based on current Group's log level.
[in] | logInfoStruct | Strut containing log level desscription |
[in] | msg | a message to log (any expression that can be stream inserted) |
Definition at line 80 of file LogLevelsInfo.hpp.
#define GEOS_LOG_LEVEL_INFO_RANK_0 | ( | logInfoStruct, | |
msg | |||
) | GEOS_LOG_RANK_0_IF( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages (only on rank 0) based on current Group's log level.
[in] | logInfoStruct | Strut containing log level desscription |
[in] | msg | a message to log (any expression that can be stream inserted) |
Definition at line 73 of file LogLevelsInfo.hpp.
#define GEOS_LOG_LEVEL_INFO_RANK_0_NLR | ( | logInfoStruct, | |
msg | |||
) | GEOS_LOG_RANK_0_IF_NLR( isLogLevelActive< logInfoStruct >( this->getLogLevel() ), msg ); |
Output messages (only on rank 0) based on current Group's log level without the line return.
[in] | logInfoStruct | Strut containing log level desscription |
[in] | msg | a message to log (any expression that can be stream inserted) |
Definition at line 87 of file LogLevelsInfo.hpp.