Loading...
Searching...
No Matches
logger.hpp File Reference
#include <iostream>
#include <sstream>
#include <limits.h>
#include "logger.defines.hpp"
#include "logtag.hpp"
Classes | |
struct | cv::utils::logging::LogTagAuto |
Namespaces | |
namespace | cv |
"black box" representation of the file storage associated with a file on disk. | |
namespace | cv::utils |
namespace | cv::utils::logging |
namespace | cv::utils::logging::internal |
Macros | |
#define | CV_LOG_DEBUG(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_DEBUG, , , __VA_ARGS__) |
#define | CV_LOG_ERROR(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_ERROR, , , __VA_ARGS__) |
#define | CV_LOG_FATAL(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_FATAL, , , __VA_ARGS__) |
#define | CV_LOG_IF_DEBUG(tag, logging_cond, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_DEBUG, , CV__LOG_IF_CHECK(logging_cond), __VA_ARGS__) |
#define | CV_LOG_IF_ERROR(tag, logging_cond, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_ERROR, , CV__LOG_IF_CHECK(logging_cond), __VA_ARGS__) |
#define | CV_LOG_IF_FATAL(tag, logging_cond, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_FATAL, , CV__LOG_IF_CHECK(logging_cond), __VA_ARGS__) |
#define | CV_LOG_IF_INFO(tag, logging_cond, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_INFO, , CV__LOG_IF_CHECK(logging_cond), __VA_ARGS__) |
#define | CV_LOG_IF_VERBOSE(tag, v, logging_cond, ...) CV_LOG_WITH_TAG(tag, (cv::utils::logging::LOG_LEVEL_VERBOSE + (int)(v)), , CV__LOG_IF_CHECK(logging_cond), __VA_ARGS__) |
#define | CV_LOG_IF_VERBOSE(tag, v, logging_cond, ...) |
#define | CV_LOG_IF_WARNING(tag, logging_cond, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_WARNING, , CV__LOG_IF_CHECK(logging_cond), __VA_ARGS__) |
#define | CV_LOG_INFO(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_INFO, , , __VA_ARGS__) |
#define | CV_LOG_ONCE_DEBUG(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_DEBUG, CV__LOG_ONCE_CHECK_PRE, CV__LOG_ONCE_CHECK_POST, __VA_ARGS__) |
#define | CV_LOG_ONCE_ERROR(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_ERROR, CV__LOG_ONCE_CHECK_PRE, CV__LOG_ONCE_CHECK_POST, __VA_ARGS__) |
#define | CV_LOG_ONCE_INFO(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_INFO, CV__LOG_ONCE_CHECK_PRE, CV__LOG_ONCE_CHECK_POST, __VA_ARGS__) |
#define | CV_LOG_ONCE_VERBOSE(tag, v, ...) CV_LOG_WITH_TAG(tag, (cv::utils::logging::LOG_LEVEL_VERBOSE + (int)(v)), CV__LOG_ONCE_CHECK_PRE, CV__LOG_ONCE_CHECK_POST, __VA_ARGS__) |
#define | CV_LOG_ONCE_VERBOSE(tag, v, ...) |
#define | CV_LOG_ONCE_WARNING(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_WARNING, CV__LOG_ONCE_CHECK_PRE, CV__LOG_ONCE_CHECK_POST, __VA_ARGS__) |
#define | CV_LOG_STRIP_LEVEL CV_LOG_LEVEL_VERBOSE |
#define | CV_LOG_VERBOSE(tag, v, ...) CV_LOG_WITH_TAG(tag, (cv::utils::logging::LOG_LEVEL_VERBOSE + (int)(v)), , , __VA_ARGS__) |
#define | CV_LOG_VERBOSE(tag, v, ...) |
#define | CV_LOG_WARNING(tag, ...) CV_LOG_WITH_TAG(tag, cv::utils::logging::LOG_LEVEL_WARNING, , , __VA_ARGS__) |
#define | CV_LOG_WITH_TAG(tag, msgLevel, extra_check0, extra_check1, ...) |
#define | CV_LOGTAG_EXPAND_NAME(tag) tag |
#define | CV_LOGTAG_FALLBACK nullptr |
#define | CV_LOGTAG_GLOBAL cv::utils::logging::internal::getGlobalLogTag() |
#define | CV_LOGTAG_PTR_CAST(expr) static_cast<const cv::utils::logging::LogTag*>(expr) |
Functions | |
cv::utils::logging::LogTag * | cv::utils::logging::internal::getGlobalLogTag () |
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) |
void | cv::utils::logging::internal::writeLogMessage (LogLevel logLevel, const char *message) |
void | cv::utils::logging::internal::writeLogMessageEx (LogLevel logLevel, const char *tag, const char *file, int line, const char *func, const char *message) |