Go to the documentation of this file.
22 #ifndef OV_CORE_PRINT_H
23 #define OV_CORE_PRINT_H
75 static void debugPrint(
PrintLevel level,
const char location[],
const char line[],
const char *format, ...);
90 #define STRINGIFY(x) #x
91 #define TOSTRING(x) STRINGIFY(x)
96 #define PRINT_ALL(x...) ov_core::Printer::debugPrint(ov_core::Printer::PrintLevel::ALL, __FILE__, TOSTRING(__LINE__), x);
97 #define PRINT_DEBUG(x...) ov_core::Printer::debugPrint(ov_core::Printer::PrintLevel::DEBUG, __FILE__, TOSTRING(__LINE__), x);
98 #define PRINT_INFO(x...) ov_core::Printer::debugPrint(ov_core::Printer::PrintLevel::INFO, __FILE__, TOSTRING(__LINE__), x);
99 #define PRINT_WARNING(x...) ov_core::Printer::debugPrint(ov_core::Printer::PrintLevel::WARNING, __FILE__, TOSTRING(__LINE__), x);
100 #define PRINT_ERROR(x...) ov_core::Printer::debugPrint(ov_core::Printer::PrintLevel::ERROR, __FILE__, TOSTRING(__LINE__), x);
PrintLevel
The different print levels possible.
static void debugPrint(PrintLevel level, const char location[], const char line[], const char *format,...)
The print function that prints to stdout.
Printer for open_vins that allows for various levels of printing to be done.
static PrintLevel current_print_level
The current print level.
static void setPrintLevel(const std::string &level)
Set the print level to use for all future printing to stdout.
static constexpr uint32_t MAX_FILE_PATH_LEGTH
The max length for the file path. This is to avoid very long file paths from.
Core algorithms for OpenVINS.
ov_core
Author(s): Patrick Geneva
, Kevin Eckenhoff , Guoquan Huang
autogenerated on Mon Dec 16 2024 03:06:46