NVIDIA DeepStream SDK API Reference

6.0.1 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvdsinfer_logger.h File Reference

Go to the source code of this file.

Namespaces

 nvdsinfer
 

Macros

#define INFER_LOG_FORMAT_(fmt)   "%s:%d " fmt, __FILE__, __LINE__
 Copyright (c) 2021, NVIDIA CORPORATION. More...
 
#define dsInferError(fmt,...)
 
#define dsInferWarning(fmt,...)
 
#define dsInferInfo(fmt,...)
 
#define dsInferDebug(fmt,...)
 

Functions

void nvdsinfer::dsInferLogPrint__ (NvDsInferLogLevel level, const char *fmt,...)
 

Variables

std::unique_ptr
< nvinfer1::ILogger > 
gTrtLogger
 

Macro Definition Documentation

#define dsInferDebug (   fmt,
  ... 
)
Value:
do { \
NVDSINFER_LOG_DEBUG, INFER_LOG_FORMAT_(fmt), ##__VA_ARGS__); \
} while (0)
void dsInferLogPrint__(NvDsInferLogLevel level, const char *fmt,...)
#define INFER_LOG_FORMAT_(fmt)
Copyright (c) 2021, NVIDIA CORPORATION.

Definition at line 45 of file nvdsinfer_logger.h.

#define dsInferError (   fmt,
  ... 
)
Value:
do { \
NVDSINFER_LOG_ERROR, INFER_LOG_FORMAT_(fmt), ##__VA_ARGS__); \
} while (0)
void dsInferLogPrint__(NvDsInferLogLevel level, const char *fmt,...)
#define INFER_LOG_FORMAT_(fmt)
Copyright (c) 2021, NVIDIA CORPORATION.

Definition at line 27 of file nvdsinfer_logger.h.

#define dsInferInfo (   fmt,
  ... 
)
Value:
do { \
NVDSINFER_LOG_INFO, INFER_LOG_FORMAT_(fmt), ##__VA_ARGS__); \
} while (0)
void dsInferLogPrint__(NvDsInferLogLevel level, const char *fmt,...)
#define INFER_LOG_FORMAT_(fmt)
Copyright (c) 2021, NVIDIA CORPORATION.

Definition at line 39 of file nvdsinfer_logger.h.

#define dsInferWarning (   fmt,
  ... 
)
Value:
do { \
NVDSINFER_LOG_WARNING, INFER_LOG_FORMAT_(fmt), ##__VA_ARGS__); \
} while (0)
void dsInferLogPrint__(NvDsInferLogLevel level, const char *fmt,...)
#define INFER_LOG_FORMAT_(fmt)
Copyright (c) 2021, NVIDIA CORPORATION.

Definition at line 33 of file nvdsinfer_logger.h.

#define INFER_LOG_FORMAT_ (   fmt)    "%s:%d " fmt, __FILE__, __LINE__

Copyright (c) 2021, NVIDIA CORPORATION.

All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related documentation without an express license agreement from NVIDIA Corporation is strictly prohibited.

Definition at line 24 of file nvdsinfer_logger.h.

Variable Documentation

std::unique_ptr<nvinfer1::ILogger> gTrtLogger