This API provides means for logging events in a DeepStream application for debugging. 
|  | 
| void | nvds_log_open () | 
|  | Opens connection to logger.  More... 
 | 
|  | 
| void | nvds_log_close () | 
|  | Called when application no longer needs logging capability.  More... 
 | 
|  | 
| void | nvds_log (const char *category, int priority, const char *data,...) | 
|  | Logs a message to locatioon as defined based on setup script.  More... 
 | 
|  | 
      
        
          | #define DSLOG_CAT_CR   "CR" | 
      
 
 
      
        
          | #define DSLOG_CAT_SG   "SG" | 
      
 
 
      
        
          | #define DSLOG_SYSLOG_IDENT   "DSLOG" | 
      
 
 
      
        
          | void nvds_log | ( | const char * | category, | 
        
          |  |  | int | priority, | 
        
          |  |  | const char * | data, | 
        
          |  |  |  | ... | 
        
          |  | ) |  |  | 
      
 
Logs a message to locatioon as defined based on setup script. 
- Parameters
- 
  
    | [in] | category | User defined string to defined log category within application |  | [in] | priority | severity of log based on syslog levels (refer to README for more info) |  | [in] | data | Message to be logger formatted as C string as with printf |  | [in] | ... | arguments corresponding to format |  
 
 
 
Called when application no longer needs logging capability. 
 
 
Opens connection to logger. 
Needs to be once per deepstream application execution, prior to use of the logger.