PipeWire  0.3.29
x86_64-redhat-linux-gnu/doc/spa/support/log.h File Reference

Go to the source code of this file.

Data Structures

struct  spa_log
 
struct  spa_log_methods
 

Macros

#define SPA_TYPE_INTERFACE_Log   SPA_TYPE_INFO_INTERFACE_BASE "Log"
 The Log interface. More...
 
#define SPA_VERSION_LOG   0
 
#define SPA_VERSION_LOG_METHODS   0
 
#define spa_log_level_enabled(l, lev)   ((l) && (l)->level >= (lev))
 
#define SPA_LOG_FUNC(name, lev)
 
#define SPA_KEY_LOG_LEVEL   "log.level"
 keys can be given when initializing the logger handle More...
 
#define SPA_KEY_LOG_COLORS   "log.colors"
 enable colors in the logger More...
 
#define SPA_KEY_LOG_FILE   "log.file"
 log to the specified file instead of stderr. More...
 
#define SPA_KEY_LOG_TIMESTAMP   "log.timestamp"
 log timestamps More...
 
#define SPA_KEY_LOG_LINE   "log.line"
 log file and line numbers More...
 

Enumerations

enum  spa_log_level {
  SPA_LOG_LEVEL_NONE = 0, SPA_LOG_LEVEL_ERROR, SPA_LOG_LEVEL_WARN, SPA_LOG_LEVEL_INFO,
  SPA_LOG_LEVEL_DEBUG, SPA_LOG_LEVEL_TRACE
}
 

Macro Definition Documentation

◆ SPA_VERSION_LOG_METHODS

#define SPA_VERSION_LOG_METHODS   0