NVIDIA DeepStream SDK API Reference

7.0 Release
gstnvstreammuxdebug.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef _GST_NVSTREAMMUX_DEBUG_H_
14 #define _GST_NVSTREAMMUX_DEBUG_H_
15 
16 #include <stdio.h>
17 #include "nvstreammux_debug.h"
18 #include <stdarg.h>
19 #include <gst/gstinfo.h>
20 
21 #if 1
22 #define LOGD(...)
23 #else
24 #define LOGD(fmt, ...) printf("[DEBUG %s %d] " fmt, __func__, __LINE__, ## __VA_ARGS__)
25 #endif
26 
27 #define LOGV(fmt, ...) printf("[VERBOSE %s %d] " fmt, __func__, __LINE__, ## __VA_ARGS__)
28 #define LOGE(fmt, ...) printf("[ERROR %s %d] " fmt, __func__, __LINE__, ## __VA_ARGS__)
29 
30 #endif
nvstreammux_debug.h