#include <Logger.hpp>

Public Member Functions

 Logger ()
 
void addMessage (int64_t messageType, const std::string &message) const
 
bool enabledMessageType (int64_t messageType) const
 
void addMessageType (int64_t messageType, const std::string &prefix)
 
int64_t enabledMessageTypes () const
 
void addBackend (const std::string &name, std::shared_ptr< LogBackend > backend)
 
bool hasBackend (const std::string &name)
 
bool removeBackend (const std::string &name)
 
template<class BackendType >
std::shared_ptr< BackendType > getBackend (const std::string &name) const
 
template<class BackendType >
std::shared_ptr< BackendType > popBackend (const std::string &name)
 

Static Public Member Functions

static bool enabledDefaultMessageType (int64_t messageType)
 

Constructor & Destructor Documentation

Opm::Logger::Logger ( )

Member Function Documentation

void Opm::Logger::addBackend ( const std::string &  name,
std::shared_ptr< LogBackend backend 
)
void Opm::Logger::addMessage ( int64_t  messageType,
const std::string &  message 
) const
void Opm::Logger::addMessageType ( int64_t  messageType,
const std::string &  prefix 
)
static bool Opm::Logger::enabledDefaultMessageType ( int64_t  messageType)
static
bool Opm::Logger::enabledMessageType ( int64_t  messageType) const
int64_t Opm::Logger::enabledMessageTypes ( ) const
template<class BackendType >
std::shared_ptr<BackendType> Opm::Logger::getBackend ( const std::string &  name) const
inline
bool Opm::Logger::hasBackend ( const std::string &  name)
template<class BackendType >
std::shared_ptr<BackendType> Opm::Logger::popBackend ( const std::string &  name)
inline

References removeBackend().

bool Opm::Logger::removeBackend ( const std::string &  name)

Referenced by popBackend().


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