Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/gapi/src/logger.hpp
16337 views
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
//
5
// Copyright (C) 2018 Intel Corporation
6
7
8
#ifndef __OPENCV_GAPI_LOGGER_HPP__
9
#define __OPENCV_GAPI_LOGGER_HPP__
10
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__)
16
#else
17
# define GAPI_LOG_INFO(tag, ...)
18
# define GAPI_LOG_WARNING(tag, ...)
19
#endif // !defined(GAPI_STANDALONE)
20
21
22
#endif // __OPENCV_GAPI_LOGGER_HPP__
23
24