LogUtil.hpp File Reference
#include <cstdint>
#include <string>
Include dependency graph for LogUtil.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Opm
 
 Opm::Log
 
 Opm::Log::MessageType
 

Functions

bool Opm::Log::isPower2 (int64_t x)
 
std::string Opm::Log::fileMessage (const std::string &path, int line, const std::string &msg)
 
std::string Opm::Log::fileMessage (int64_t messageType, const std::string &path, int line, const std::string &msg)
 
std::string Opm::Log::prefixMessage (int64_t messageType, const std::string &msg)
 

Variables

const int64_t Opm::Log::MessageType::Debug = 1
 
const int64_t Opm::Log::MessageType::Info = 2
 
const int64_t Opm::Log::MessageType::Warning = 4
 
const int64_t Opm::Log::MessageType::Error = 8
 
const int64_t Opm::Log::MessageType::Problem = 16
 
const int64_t Opm::Log::MessageType::Bug = 32
 
const int64_t Opm::Log::DefaultMessageTypes = MessageType::Debug + MessageType::Info + MessageType::Warning + MessageType::Error + MessageType::Problem + MessageType::Bug