最終更新:2019-06-11 (火) 15:03:18 (4d)  

OpenCV/ログ はてなブックマークを見る
Top / OpenCV / ログ

#include "opencv2/core/utils/logger.hpp"
    cv::utils::logging::LogLevel prev = cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_VERBOSE);
    cv::String path;
    ASSERT_NO_THROW(path = samples::findFile("lena.jpg", false));
    EXPECT_NE(std::string(), path.c_str());
    cv::utils::logging::setLogLevel(prev);

OpenCV/modules/core/src/logger.cpp

cv::utils::logging::setLogLevel