| 
    PipeWire
    0.3.34
    
   | 
 
Data Structures | |
| struct | log_ctx | 
Macros | |
| #define | DEFAULT_LOG_LEVEL SPA_LOG_LEVEL_WARN | 
| #define | _log(_c, fmt, ...) | 
Functions | |
| SPA_LOG_IMPL (default_log) | |
| void | pw_log_set (struct spa_log *log) | 
| Set the global log interface.  More... | |
| bool | pw_log_is_default (void) | 
| struct spa_log * | pw_log_get (void) | 
| Get the global log interface.  More... | |
| void | pw_log_set_level (enum spa_log_level level) | 
| Set the global log level.  More... | |
| void | pw_log_log (enum spa_log_level level, const char *file, int line, const char *func, const char *fmt,...) | 
| Log a message.  More... | |
| void | pw_log_logv (enum spa_log_level level, const char *file, int line, const char *func, const char *fmt, va_list args) | 
| Log a message with va_list.  More... | |
| void | pw_log_log_object (enum spa_log_level level, const char *file, int line, const char *func, uint32_t flags, const void *object) | 
Variables | |
| enum spa_log_level | pw_log_level = DEFAULT_LOG_LEVEL | 
| The global log level.  More... | |
| #define _log | ( | _c, | |
| fmt, | |||
| ... | |||
| ) | 
| #define DEFAULT_LOG_LEVEL SPA_LOG_LEVEL_WARN | 
| bool pw_log_is_default | ( | void | ) | 
| void pw_log_log | ( | enum spa_log_level | level, | 
| const char * | file, | ||
| int | line, | ||
| const char * | func, | ||
| const char * | fmt, | ||
| ... | |||
| ) | 
Log a message.
| level | the log level | 
| file | the file this message originated from | 
| line | the line number | 
| func | the function | 
| fmt | the printf style format | 
| ... | printf style arguments to log | 
References spa_log::level, pw_log_level_enabled, spa_interface_call, and SPA_UNLIKELY.
Referenced by pw_log_log_object().
| void pw_log_log_object | ( | enum spa_log_level | level, | 
| const char * | file, | ||
| int | line, | ||
| const char * | func, | ||
| uint32_t | flags, | ||
| const void * | object | ||
| ) | 
References log_ctx::file, log_ctx::func, log_ctx::level, and pw_log_log().
| void pw_log_logv | ( | enum spa_log_level | level, | 
| const char * | file, | ||
| int | line, | ||
| const char * | func, | ||
| const char * | fmt, | ||
| va_list | args | ||
| ) | 
Log a message with va_list.
| level | the log level | 
| file | the file this message originated from | 
| line | the line number | 
| func | the function | 
| fmt | the printf style format | 
| args | a va_list of arguments | 
References spa_log::level, pw_log_level_enabled, spa_interface_call, and SPA_UNLIKELY.
| SPA_LOG_IMPL | ( | default_log | ) |