![]() |
v0.15.0 |
Log and register warnings. More...
Go to the source code of this file.
Classes | |
| struct | MoFEM::LogManager |
| Log manager is used to build and partition problems. More... | |
Namespaces | |
| namespace | MoFEM |
| implementation of Data Operators for Forces and Sources | |
| namespace | MoFEM::LogKeywords |
Macros | |
| #define | MOFEM_LOG_CHANNEL(channel) { MoFEM::LogManager::setLog(channel); } |
| Set and reset channel. | |
| #define | MOFEM_LOG_ATTRIBUTES(channel, bit) { MoFEM::LogManager::addAttributes(channel, bit); } |
| Add attributes to channel. | |
| #define | MOFEM_LOG(channel, severity) BOOST_LOG_SEV(MoFEM::LogManager::getLog(channel), severity) |
| Log. | |
| #define | MOFEM_LOG_C(channel, severity, format, ...) |
| #define | MOFEM_LOG_FUNCTION() |
| Set scope. | |
| #define | MOFEM_LOG_TAG(channel, tag) MoFEM::LogManager::addTag(channel, tag); |
| Tag channel. | |
| #define | MOFEM_LOG_SYNCHRONISE(comm) PetscSynchronizedFlush(comm, MoFEM::LogManager::dummy_mofem_fd); |
| Synchronise "SYNC" channel. | |
| #define | MOFEM_LOG_SEVERITY_SYNC(comm, severity) |
| Synchronise "SYNC" on curtain severity level. | |
| #define | MOFEM_LOG_FILE_SYNCHRONISE(comm, fd) PetscSynchronizedFlush(comm, fd); |
| Synchronise "SYNC" channel. | |
| #define | MOFEM_TAG_AND_LOG(channel, severity, tag) |
| Tag and log in channel. | |
| #define | MOFEM_TAG_AND_LOG_C(channel, severity, tag, format, ...) |
| Tag and log in channel. | |
Functions | |
| std::ostream & | MoFEM::operator<< (std::ostream &strm, const LogManager::SeverityLevel &level) |
| MoFEM::LogKeywords::BOOST_LOG_ATTRIBUTE_KEYWORD (scope, "Scope", boost::log::attributes::named_scope::value_type) BOOST_LOG_ATTRIBUTE_KEYWORD(timeline | |
| PetscErrorCode | PetscVFPrintfDefault (FILE *fd, const char *format, va_list Argp) |
Variables | |
| MoFEM::LogKeywords::Timeline | |
Log and register warnings.
Definition in file LogManager.hpp.
| #define MOFEM_LOG_C | ( | channel, | |
| severity, | |||
| format, | |||
| ... | |||
| ) |
Definition at line 319 of file LogManager.hpp.
| #define MOFEM_LOG_FILE_SYNCHRONISE | ( | comm, | |
| fd | |||
| ) | PetscSynchronizedFlush(comm, fd); |
| #define MOFEM_LOG_SEVERITY_SYNC | ( | comm, | |
| severity | |||
| ) |
Synchronise "SYNC" on curtain severity level.
Definition at line 360 of file LogManager.hpp.
| #define MOFEM_LOG_SYNCHRONISE | ( | comm | ) | PetscSynchronizedFlush(comm, MoFEM::LogManager::dummy_mofem_fd); |
Synchronise "SYNC" channel.
Definition at line 353 of file LogManager.hpp.
| #define MOFEM_TAG_AND_LOG | ( | channel, | |
| severity, | |||
| tag | |||
| ) |
Tag and log in channel.
Definition at line 376 of file LogManager.hpp.
| #define MOFEM_TAG_AND_LOG_C | ( | channel, | |
| severity, | |||
| tag, | |||
| format, | |||
| ... | |||
| ) |
Tag and log in channel.
Definition at line 384 of file LogManager.hpp.
| PetscErrorCode PetscVFPrintfDefault | ( | FILE * | fd, |
| const char * | format, | ||
| va_list | Argp | ||
| ) |