Opm::Log Namespace Reference

Namespaces

namespace  AnsiTerminalColors
 
namespace  MessageType
 

Functions

bool isPower2 (int64_t x)
 
std::string fileMessage (const Location &location, const std::string &msg)
 
std::string fileMessage (int64_t messageType, const Location &location, const std::string &msg)
 
std::string prefixMessage (int64_t messageType, const std::string &msg)
 
std::string colorCodeMessage (int64_t messageType, const std::string &msg)
 

Variables

const int64_t DefaultMessageTypes = MessageType::Debug + MessageType::Note + MessageType::Info + MessageType::Warning + MessageType::Error + MessageType::Problem + MessageType::Bug
 
const int64_t NoDebugMessageTypes = MessageType::Info + MessageType::Note + MessageType::Warning + MessageType::Error + MessageType::Problem + MessageType::Bug
 
const int64_t StdoutMessageTypes = MessageType::Info + MessageType::Warning + MessageType::Error + MessageType::Problem + MessageType::Bug
 

Function Documentation

◆ colorCodeMessage()

std::string Opm::Log::colorCodeMessage ( int64_t  messageType,
const std::string msg 
)

◆ fileMessage() [1/2]

std::string Opm::Log::fileMessage ( const Location location,
const std::string msg 
)

◆ fileMessage() [2/2]

std::string Opm::Log::fileMessage ( int64_t  messageType,
const Location location,
const std::string msg 
)

◆ isPower2()

bool Opm::Log::isPower2 ( int64_t  x)

◆ prefixMessage()

std::string Opm::Log::prefixMessage ( int64_t  messageType,
const std::string msg 
)

Variable Documentation

◆ DefaultMessageTypes

◆ NoDebugMessageTypes

◆ StdoutMessageTypes