#include <EclipsePRTLog.hpp>
|
size_t | numMessages (int64_t messageType) const |
|
| ~EclipsePRTLog () |
|
| EclipsePRTLog (const std::string &logFile, int64_t messageMask, bool append, bool print_summary) |
| Construct a logger to the <MODLE>.PRT file. More...
|
|
| EclipsePRTLog (std::ostream &os, int64_t messageMask, bool print_summary) |
| Construct a logger to the <MODLE>.PRT file. More...
|
|
| StreamLog (const std::string &logFile, int64_t messageMask, bool append=false) |
|
| StreamLog (std::ostream &os, int64_t messageMask) |
|
void | setMessageFormatter (std::shared_ptr< MessageFormatterInterface > formatter) |
| Configure how formatMessage() will modify message strings. More...
|
|
void | setMessageLimiter (std::shared_ptr< MessageLimiter > limiter) |
| Configure how message tags will be used to limit messages. More...
|
|
void | addMessage (int64_t messageFlag, const std::string &message) |
| Add a message to the backend if accepted by the message limiter. More...
|
|
void | addTaggedMessage (int64_t messageFlag, const std::string &messageTag, const std::string &message) |
| Add a tagged message to the backend if accepted by the message limiter. More...
|
|
int64_t | getMask () const |
|
◆ ~EclipsePRTLog()
Opm::EclipsePRTLog::~EclipsePRTLog |
( |
| ) |
|
◆ EclipsePRTLog() [1/2]
Opm::EclipsePRTLog::EclipsePRTLog |
( |
const std::string & |
logFile, |
|
|
int64_t |
messageMask, |
|
|
bool |
append, |
|
|
bool |
print_summary |
|
) |
| |
Construct a logger to the <MODLE>.PRT file.
- Parameters
-
logFile | The name of the logfile to use. |
messageMask | ???? |
append | If true then we append messages to the file. Otherwise a new file is created. |
print_summary | If true print a summary to the PRT file. |
◆ EclipsePRTLog() [2/2]
Opm::EclipsePRTLog::EclipsePRTLog |
( |
std::ostream & |
os, |
|
|
int64_t |
messageMask, |
|
|
bool |
print_summary |
|
) |
| |
Construct a logger to the <MODLE>.PRT file.
- Parameters
-
logFile | The name of the logfile to use. |
messageMask | ???? |
append | If true then we append messages to the file. Otherwise a new file is created. |
print_summary | If true print a summary to the PRT file. |
◆ addMessage()
void Opm::LogBackend::addMessage |
( |
int64_t |
messageFlag, |
|
|
const std::string & |
message |
|
) |
| |
|
inherited |
Add a message to the backend if accepted by the message limiter.
◆ addMessageUnconditionally()
void Opm::EclipsePRTLog::addMessageUnconditionally |
( |
int64_t |
messageFlag, |
|
|
const std::string & |
message |
|
) |
| |
|
overrideprotectedvirtual |
This is the method subclasses should override.
Typically a subclass may filter, change, and output messages based on configuration and the messageFlag.
Reimplemented from Opm::StreamLog.
◆ addTaggedMessage()
void Opm::LogBackend::addTaggedMessage |
( |
int64_t |
messageFlag, |
|
|
const std::string & |
messageTag, |
|
|
const std::string & |
message |
|
) |
| |
|
inherited |
Add a tagged message to the backend if accepted by the message limiter.
◆ formatMessage()
Return decorated version of message depending on configureDecoration() arguments.
◆ getMask()
int64_t Opm::LogBackend::getMask |
( |
| ) |
const |
|
inherited |
◆ numMessages()
size_t Opm::EclipsePRTLog::numMessages |
( |
int64_t |
messageType | ) |
const |
◆ setMessageFormatter()
◆ setMessageLimiter()
void Opm::LogBackend::setMessageLimiter |
( |
std::shared_ptr< MessageLimiter > |
limiter | ) |
|
|
inherited |
Configure how message tags will be used to limit messages.
◆ StreamLog() [1/2]
◆ StreamLog() [2/2]
Opm::StreamLog::StreamLog |
( |
std::ostream & |
os, |
|
|
int64_t |
messageMask |
|
) |
| |
The documentation for this class was generated from the following file: