logger.defines.hpp 963 B

12345678910111213141516171819202122
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html.
  4. #ifndef OPENCV_LOGGER_DEFINES_HPP
  5. #define OPENCV_LOGGER_DEFINES_HPP
  6. //! @addtogroup core_logging
  7. //! @{
  8. // Supported logging levels and their semantic
  9. #define CV_LOG_LEVEL_SILENT 0 //!< for using in setLogLevel() call
  10. #define CV_LOG_LEVEL_FATAL 1 //!< Fatal (critical) error (unrecoverable internal error)
  11. #define CV_LOG_LEVEL_ERROR 2 //!< Error message
  12. #define CV_LOG_LEVEL_WARN 3 //!< Warning message
  13. #define CV_LOG_LEVEL_INFO 4 //!< Info message
  14. #define CV_LOG_LEVEL_DEBUG 5 //!< Debug message. Disabled in the "Release" build.
  15. #define CV_LOG_LEVEL_VERBOSE 6 //!< Verbose (trace) messages. Requires verbosity level. Disabled in the "Release" build.
  16. //! @}
  17. #endif // OPENCV_LOGGER_DEFINES_HPP