NVIDIA DeepStream SDK API Reference
5.0 Release
Welcome
API Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
nvds_logger.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-2020 NVIDIA Corporation. All rights reserved.
3
*
4
* NVIDIA Corporation and its licensors retain all intellectual property
5
* and proprietary rights in and to this software, related documentation
6
* and any modifications thereto. Any use, reproduction, disclosure or
7
* distribution of this software and related documentation without an express
8
* license agreement from NVIDIA Corporation is strictly prohibited.
9
*
10
*/
11
29
#ifndef NVDS_LOGGER_H
30
#define NVDS_LOGGER_H
31
32
#include <syslog.h>
33
34
#define DSLOG_SYSLOG_IDENT "DSLOG"
35
36
//define additional categories here
37
#define DSLOG_CAT_CR "CR"
38
#define DSLOG_CAT_SG "SG"
39
40
41
#ifdef __cplusplus
42
extern
"C"
{
43
#endif
44
45
52
void
nvds_log_open
();
53
54
58
void
nvds_log_close
();
59
60
// Category is user (application) defined; priority is based on syslog levels
61
// data is message to be logged
78
void
nvds_log
(
const
char
*category,
int
priority,
const
char
*data, ...);
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
84
nvds_log_close
void nvds_log_close()
Closes a connection to the logger.
nvds_log_open
void nvds_log_open()
Opens a connection to the logger.
nvds_log
void nvds_log(const char *category, int priority, const char *data,...)
Logs a message to a location determined by the setup script.
Advance Information | Subject to Change | Generated by NVIDIA | Mon Aug 3 2020 12:40:43 | PR-09318-R32