Opm::DeferredLogger Class Reference

#include <DeferredLogger.hpp>

Classes

struct  Message
 

Public Member Functions

void info (const std::string &tag, const std::string &message)
 
void warning (const std::string &tag, const std::string &message)
 
void error (const std::string &tag, const std::string &message)
 
void problem (const std::string &tag, const std::string &message)
 
void bug (const std::string &tag, const std::string &message)
 
void debug (const std::string &tag, const std::string &message)
 
void note (const std::string &tag, const std::string &message)
 
void info (const std::string &message)
 
void warning (const std::string &message)
 
void error (const std::string &message)
 
void problem (const std::string &message)
 
void bug (const std::string &message)
 
void debug (const std::string &message)
 
void note (const std::string &message)
 
void logMessages ()
 
void clearMessages ()
 Clear the message container without logging them. More...
 

Friends

DeferredLogger gatherDeferredLogger (const DeferredLogger &local_deferredlogger, Parallel::Communication mpi_communicator)
 Create a global log combining local logs. More...
 

Member Function Documentation

◆ bug() [1/2]

void Opm::DeferredLogger::bug ( const std::string &  message)

◆ bug() [2/2]

void Opm::DeferredLogger::bug ( const std::string &  tag,
const std::string &  message 
)

◆ clearMessages()

void Opm::DeferredLogger::clearMessages ( )

Clear the message container without logging them.

Referenced by logAndCheckForExceptionsAndThrow(), and logAndCheckForProblemsAndThrow().

◆ debug() [1/2]

void Opm::DeferredLogger::debug ( const std::string &  message)

◆ debug() [2/2]

void Opm::DeferredLogger::debug ( const std::string &  tag,
const std::string &  message 
)

Referenced by Opm::StandardWell< TypeTag >::canProduceInjectWithCurrentBhp(), Opm::MultisegmentWell< TypeTag >::checkOperabilityUnderTHPLimit(), Opm::StandardWell< TypeTag >::checkOperabilityUnderTHPLimit(), Opm::WellInterface< TypeTag >::checkWellOperability(), Opm::BlackoilWellModel< TypeTag >::computeWellGroupThp(), Opm::MultisegmentWell< TypeTag >::computeWellPotentials(), Opm::MultisegmentWell< TypeTag >::computeWellPotentialWithTHP(), Opm::StandardWell< TypeTag >::computeWellRatesWithBhpIterations(), Opm::BlackoilWellModel< TypeTag >::createWellContainer(), Opm::BlackoilWellModel< TypeTag >::doPreStepNetworkRebalance(), Opm::BlackoilWellModel< TypeTag >::getDomainWellConvergence(), Opm::MultisegmentWell< TypeTag >::iterateWellEqWithControl(), Opm::MultisegmentWell< TypeTag >::iterateWellEqWithSwitching(), Opm::StandardWell< TypeTag >::iterateWellEqWithSwitching(), Opm::BlackoilModelNldd< TypeTag >::nonlinearIterationNldd(), Opm::BlackoilWellModel< TypeTag >::setupDomains(), Opm::WellInterface< TypeTag >::solveWellEquation(), Opm::WellInterface< TypeTag >::solveWellForTesting(), Opm::WellInterface< TypeTag >::solveWellWithTHPConstraint(), Opm::MultisegmentWell< TypeTag >::updateIPR(), Opm::StandardWell< TypeTag >::updateIPR(), Opm::MultisegmentWell< TypeTag >::updateIPRImplicit(), Opm::StandardWell< TypeTag >::updateIPRImplicit(), Opm::WellInterface< TypeTag >::updateWellControl(), Opm::WellInterface< TypeTag >::updateWellOperability(), and Opm::WellInterface< TypeTag >::wellTesting().

◆ error() [1/2]

void Opm::DeferredLogger::error ( const std::string &  message)

◆ error() [2/2]

void Opm::DeferredLogger::error ( const std::string &  tag,
const std::string &  message 
)

◆ info() [1/2]

void Opm::DeferredLogger::info ( const std::string &  message)

◆ info() [2/2]

◆ logMessages()

◆ note() [1/2]

void Opm::DeferredLogger::note ( const std::string &  message)

◆ note() [2/2]

void Opm::DeferredLogger::note ( const std::string &  tag,
const std::string &  message 
)

◆ problem() [1/2]

void Opm::DeferredLogger::problem ( const std::string &  message)

◆ problem() [2/2]

void Opm::DeferredLogger::problem ( const std::string &  tag,
const std::string &  message 
)

◆ warning() [1/2]

void Opm::DeferredLogger::warning ( const std::string &  message)

◆ warning() [2/2]

Friends And Related Function Documentation

◆ gatherDeferredLogger

DeferredLogger gatherDeferredLogger ( const DeferredLogger local_deferredlogger,
Parallel::Communication  mpi_communicator 
)
friend

Create a global log combining local logs.


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