OpenCV 4.11.0
开源计算机视觉库
|
命名空间 | |
命名空间 | cv |
命名空间 | cv::utils::logging::internal |
类 | |
结构体 | cv::utils::logging::LogTagAuto |
宏 | |
#define | CV_LOG_DEBUG(tag, ...) |
#define | CV_LOG_ERROR(tag, ...) |
#define | CV_LOG_FATAL(tag, ...) |
#define | CV_LOG_IF_DEBUG(tag, logging_cond, ...) |
#define | CV_LOG_IF_ERROR(tag, logging_cond, ...) |
#define | CV_LOG_IF_FATAL(tag, logging_cond, ...) |
#define | CV_LOG_IF_INFO(tag, logging_cond, ...) |
#define | CV_LOG_IF_VERBOSE(tag, v, logging_cond, ...) |
#define | CV_LOG_IF_VERBOSE(tag, v, logging_cond, ...) |
#define | CV_LOG_IF_WARNING(tag, logging_cond, ...) |
#define | CV_LOG_INFO(tag, ...) |
#define | CV_LOG_LEVEL_DEBUG 5 |
调试消息。在“Release”构建中禁用。 | |
#define | CV_LOG_LEVEL_ERROR 2 |
错误消息。 | |
#define | CV_LOG_LEVEL_FATAL 1 |
致命(严重)错误(不可恢复的内部错误) | |
#define | CV_LOG_LEVEL_INFO 4 |
信息消息。 | |
#define | CV_LOG_LEVEL_SILENT 0 |
用于在 setLogLevel() 调用中使用 | |
#define | CV_LOG_LEVEL_VERBOSE 6 |
详细(跟踪)消息。需要详细程度。在“Release”构建中禁用。 | |
#define | CV_LOG_LEVEL_WARN 3 |
警告消息。 | |
#define | CV_LOG_ONCE_DEBUG(tag, ...) |
#define | CV_LOG_ONCE_ERROR(tag, ...) |
#define | CV_LOG_ONCE_INFO(tag, ...) |
#define | CV_LOG_ONCE_VERBOSE(tag, v, ...) |
#define | CV_LOG_ONCE_VERBOSE(tag, v, ...) |
#define | CV_LOG_ONCE_WARNING(tag, ...) |
#define | CV_LOG_STRIP_LEVEL CV_LOG_LEVEL_VERBOSE |
#define | CV_LOG_VERBOSE(tag, v, ...) |
#define | CV_LOG_VERBOSE(tag, v, ...) |
#define | CV_LOG_WARNING(tag, ...) |
#define | CV_LOG_WITH_TAG(tag, msgLevel, extra_check0, extra_check1, ...) |
#define | CV_LOGTAG_EXPAND_NAME(tag) |
#define | CV_LOGTAG_FALLBACK nullptr |
#define | CV_LOGTAG_GLOBAL cv::utils::logging::internal::getGlobalLogTag() |
#define | CV_LOGTAG_PTR_CAST(expr) |
#define | CV_TRACE_ARG(arg_id) |
跟踪参数值的宏。 | |
#define | CV_TRACE_ARG_VALUE(arg_id, arg_name, value) |
跟踪参数值的宏(扩展版本) | |
#define | CV_TRACE_FUNCTION() |
跟踪函数的宏。 | |
#define | CV_TRACE_FUNCTION_SKIP_NESTED() |
#define | CV_TRACE_REGION(name_as_static_string_literal) |
#define | CV_TRACE_REGION_NEXT(name_as_static_string_literal) |
函数 | |
LogLevel | cv::utils::logging::getLogLevel () |
cv::utils::logging::LogLevel | cv::utils::logging::getLogTagLevel (const char *tag) |
void | cv::utils::logging::registerLogTag (cv::utils::logging::LogTag *plogtag) |
LogLevel | cv::utils::logging::setLogLevel (LogLevel logLevel) |
void | cv::utils::logging::setLogTagLevel (const char *tag, cv::utils::logging::LogLevel level) |
#define CV_LOG_DEBUG | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_ERROR | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_FATAL | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_DEBUG | ( | tag, | |
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_ERROR | ( | tag, | |
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_FATAL | ( | tag, | |
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_INFO | ( | tag, | |
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_VERBOSE | ( | tag, | |
v, | |||
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_VERBOSE | ( | tag, | |
v, | |||
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_IF_WARNING | ( | tag, | |
logging_cond, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_INFO | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_LEVEL_DEBUG 5 |
#include <opencv2/core/utils/logger.defines.hpp>
调试消息。在“Release”构建中禁用。
#define CV_LOG_LEVEL_ERROR 2 |
#include <opencv2/core/utils/logger.defines.hpp>
错误消息。
#define CV_LOG_LEVEL_FATAL 1 |
#include <opencv2/core/utils/logger.defines.hpp>
致命(严重)错误(不可恢复的内部错误)
#define CV_LOG_LEVEL_INFO 4 |
#include <opencv2/core/utils/logger.defines.hpp>
信息消息。
#define CV_LOG_LEVEL_SILENT 0 |
#include <opencv2/core/utils/logger.defines.hpp>
用于在 setLogLevel() 调用中使用
#define CV_LOG_LEVEL_VERBOSE 6 |
#include <opencv2/core/utils/logger.defines.hpp>
详细(跟踪)消息。需要详细程度。在“Release”构建中禁用。
#define CV_LOG_LEVEL_WARN 3 |
#include <opencv2/core/utils/logger.defines.hpp>
警告消息。
#define CV_LOG_ONCE_DEBUG | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_ONCE_ERROR | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_ONCE_INFO | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_ONCE_VERBOSE | ( | tag, | |
v, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_ONCE_VERBOSE | ( | tag, | |
v, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_ONCE_WARNING | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_STRIP_LEVEL CV_LOG_LEVEL_VERBOSE |
#include <opencv2/core/utils/logger.hpp>
定义 CV_LOG_STRIP_LEVEL=CV_LOG_LEVEL_[DEBUG|INFO|WARN|ERROR|FATAL|SILENT] 用于编译去除该日志级别及之前级别的所有内容
#define CV_LOG_VERBOSE | ( | tag, | |
v, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_VERBOSE | ( | tag, | |
v, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_WARNING | ( | tag, | |
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOG_WITH_TAG | ( | tag, | |
msgLevel, | |||
extra_check0, | |||
extra_check1, | |||
... ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOGTAG_EXPAND_NAME | ( | tag | ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOGTAG_FALLBACK nullptr |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOGTAG_GLOBAL cv::utils::logging::internal::getGlobalLogTag() |
#include <opencv2/core/utils/logger.hpp>
#define CV_LOGTAG_PTR_CAST | ( | expr | ) |
#include <opencv2/core/utils/logger.hpp>
#define CV_TRACE_ARG | ( | arg_id | ) |
#include <opencv2/core/utils/trace.hpp>
跟踪参数值的宏。
#define CV_TRACE_ARG_VALUE | ( | arg_id, | |
arg_name, | |||
value ) |
#include <opencv2/core/utils/trace.hpp>
跟踪参数值的宏(扩展版本)
#define CV_TRACE_FUNCTION | ( | ) |
#include <opencv2/core/utils/trace.hpp>
跟踪函数的宏。
#define CV_TRACE_FUNCTION_SKIP_NESTED | ( | ) |
#include <opencv2/core/utils/trace.hpp>
#define CV_TRACE_REGION | ( | name_as_static_string_literal | ) |
#define CV_TRACE_REGION_NEXT | ( | name_as_static_string_literal | ) |
#include <opencv2/core/utils/trace.hpp>
标记当前打开区域的完成并创建一个新的区域。
LogLevel cv::utils::logging::getLogLevel | ( | ) |
#include <opencv2/core/utils/logger.hpp>
获取全局日志级别
cv::utils::logging::LogLevel cv::utils::logging::getLogTagLevel | ( | const char * | tag | ) |
#include <opencv2/core/utils/logger.hpp>
void cv::utils::logging::registerLogTag | ( | cv::utils::logging::LogTag * | plogtag | ) |
#include <opencv2/core/utils/logger.hpp>
void cv::utils::logging::setLogTagLevel | ( | const char * | tag, |
cv::utils::logging::LogLevel | level ) |
#include <opencv2/core/utils/logger.hpp>