NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/utils/log_utils.h File Reference

Go to the source code of this file.

Data Structures

class  PrettyLogger
 

Macros

#define ANSI_COLOR_ERROR   "\x1b[31m"
 
#define ANSI_COLOR_SUCCESS   "\x1b[38;2;118;185;0m"
 
#define ANSI_COLOR_WARNING   "\x1b[33m"
 
#define ANSI_COLOR_INFO   "\x1b[38;2;0;175;255m"
 
#define ANSI_COLOR_INFO2   "\x1b[38;2;147;161;161m"
 
#define ANSI_COLOR_FRAME   "\x1b[38;2;255;165;0m"
 
#define ANSI_COLOR_RESET   "\x1b[0m"
 

Enumerations

enum  LogLevel {
  LogLevel::INFO,
  LogLevel::WARN,
  LogLevel::ERROR,
  LogLevel::INFO,
  LogLevel::WARN,
  LogLevel::ERROR
}
 Enumeration for logging levels. More...
 

Macro Definition Documentation

◆ ANSI_COLOR_ERROR

#define ANSI_COLOR_ERROR   "\x1b[31m"

◆ ANSI_COLOR_FRAME

#define ANSI_COLOR_FRAME   "\x1b[38;2;255;165;0m"

◆ ANSI_COLOR_INFO

#define ANSI_COLOR_INFO   "\x1b[38;2;0;175;255m"

◆ ANSI_COLOR_INFO2

#define ANSI_COLOR_INFO2   "\x1b[38;2;147;161;161m"

◆ ANSI_COLOR_RESET

#define ANSI_COLOR_RESET   "\x1b[0m"

◆ ANSI_COLOR_SUCCESS

#define ANSI_COLOR_SUCCESS   "\x1b[38;2;118;185;0m"

◆ ANSI_COLOR_WARNING

#define ANSI_COLOR_WARNING   "\x1b[33m"

Enumeration Type Documentation

◆ LogLevel

enum LogLevel
strong

Enumeration for logging levels.

Defines the severity levels for logging. Higher levels include all lower levels.

  • INFO: Display all messages (info, warnings, errors)
  • WARN: Display warnings and errors only
  • ERROR: Display errors only Note: persistent_info messages are always displayed regardless of log level
Enumerator
INFO 
WARN 
ERROR 
INFO 
WARN 
ERROR 

Definition at line 51 of file 9.2/sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/utils/log_utils.h.