1 #ifndef OPENPOSE_UTILITIES_ERROR_AND_LOG_HPP
2 #define OPENPOSE_UTILITIES_ERROR_AND_LOG_HPP
18 std::ostringstream oss;
30 inline void error(
const T& message,
const int line = -1,
const std::string&
function =
"",
57 log(message, priority, line,
function, file);
68 namespace ConfigureError
76 namespace ConfigureLog
88 #endif // OPENPOSE_UTILITIES_ERROR_AND_LOG_HPP
#define UNUSED(unusedVariable)
Definition: macros.hpp:31
OP_API void error(const std::string &message, const int line=-1, const std::string &function="", const std::string &file="")
std::string tToString(const T &message)
Definition: errorAndLog.hpp:15
void dLog(const T &message, const Priority priority=Priority::Max, const int line=-1, const std::string &function="", const std::string &file="")
Definition: errorAndLog.hpp:53
OP_API void log(const std::string &message, const Priority priority=Priority::Max, const int line=-1, const std::string &function="", const std::string &file="")
Priority
Definition: enumClasses.hpp:21
#define OP_API
Definition: macros.hpp:18
std::string string
Definition: cl2.hpp:574