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.
5 // Copyright (C) 2018-2019 Intel Corporation
8 #ifndef __OPENCV_GAPI_LOGGER_HPP__
9 #define __OPENCV_GAPI_LOGGER_HPP__
11 #if !defined(GAPI_STANDALONE)
12 # include "opencv2/core/cvdef.h"
13 # include "opencv2/core/utils/logger.hpp"
14 # define GAPI_LOG_INFO(tag, ...) CV_LOG_INFO(tag, __VA_ARGS__)
15 # define GAPI_LOG_WARNING(tag, ...) CV_LOG_WARNING(tag, __VA_ARGS__)
17 # define GAPI_LOG_INFO(tag, ...)
18 # define GAPI_LOG_WARNING(tag, ...)
19 #endif // !defined(GAPI_STANDALONE)
22 #endif // __OPENCV_GAPI_LOGGER_HPP__