47 #ifndef _MIRA_LOGTIMER_H_ 48 #define _MIRA_LOGTIMER_H_ 85 const char*
file,
int line,
88 const std::string& caption);
106 std::string mCaption;
117 #define MIRA_LOGTIMER(level, name, text) \ 118 constexpr auto fileInMIRAPath##name = mira::chopMIRAPath(__FILE__); \ 119 LogTimer name(level, #name, Time::now(), \ 120 fileInMIRAPath##name, __LINE__, \ 121 MIRA_FUNCTION, getCurrentThreadID(), text); 128 #define MIRA_PEEKLOGTIMER(name) name.peek(); 135 #define MIRA_ENDLOGTIMER(name) name.end(); Holds all the information about a log entry.
Definition: LoggingCore.h:107
PropertyHint file(const std::string &filters=std::string(), bool save=false)
Tells the property editor that the path is for a file, and that it should show a "File Open"/"File Sa...
Definition: Path.h:247
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Compile-time path handling.
uint32 ThreadID
Platform independent thread ID.
Definition: ThreadID.h:68
SeverityLevel
Severity levels to graduate between different log outputs.
Definition: LoggingCore.h:72
Wrapper class for boost::posix_time::ptime for adding more functionality to it.
Definition: Time.h:418
Core class of the logging library.
Use this class to represent time durations.
Definition: Time.h:106
Class that can be used as a stop watch to measure execution time of operations.
Definition: LogTimer.h:77