NVIDIA DeepStream SDK API Reference
4.0 Release
Welcome
API Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
nvds_logger.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 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
28
#ifndef NVDS_LOGGER_H
29
#define NVDS_LOGGER_H
30
31
#include <syslog.h>
32
33
#define DSLOG_SYSLOG_IDENT "DSLOG"
34
35
//define additional categories here
36
#define DSLOG_CAT_CR "CR"
37
#define DSLOG_CAT_SG "SG"
38
39
40
#ifdef __cplusplus
41
extern
"C"
{
42
#endif
43
44
48
void
nvds_log_open
();
49
50
54
void
nvds_log_close
();
55
56
// Category is user (application) defined; priority is based on syslog levels
57
// data is message to be logged
66
void
nvds_log
(
const
char
*category,
int
priority,
const
char
*data, ...);
67
#ifdef __cplusplus
68
}
69
#endif
70
71
#endif
72
nvds_log_close
void nvds_log_close()
Called when application no longer needs logging capability.
nvds_log_open
void nvds_log_open()
Opens connection to logger.
nvds_log
void nvds_log(const char *category, int priority, const char *data,...)
Logs a message to locatioon as defined based on setup script.
Advance Information | Subject to Change | Generated by NVIDIA | Tue Aug 6 2019 10:54:06 | PR-09318-R32