Go to the source code of this file.
|
void | pw_log_set (struct spa_log *log) |
| Configure a logging module. More...
|
|
struct spa_log * | pw_log_get (void) |
| Get the log interface. More...
|
|
void | pw_log_set_level (enum spa_log_level level) |
| Configure the logging level. More...
|
|
void | pw_log_log (enum spa_log_level level, const char *file, int line, const char *func, const char *fmt,...) SPA_PRINTF_FUNC(5 |
| Log a message. More...
|
|
void void | pw_log_logv (enum spa_log_level level, const char *file, int line, const char *func, const char *fmt, va_list args) SPA_PRINTF_FUNC(5 |
| Log a message. More...
|
|
◆ pw_log
Value:({ \
pw_log_log(lev,__FILE__,__LINE__,__func__,__VA_ARGS__); \
})
◆ pw_log_trace_fp
#define pw_log_trace_fp |
( |
|
... | ) |
pw_log(SPA_LOG_LEVEL_TRACE,__VA_ARGS__) |
◆ pw_log_get()
struct spa_log* pw_log_get |
( |
void |
| ) |
|
◆ pw_log_log()
void pw_log_log |
( |
enum spa_log_level |
level, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ pw_log_logv()
void void pw_log_logv |
( |
enum spa_log_level |
level, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func, |
|
|
const char * |
fmt, |
|
|
va_list |
args |
|
) |
| |
◆ pw_log_set()
void pw_log_set |
( |
struct spa_log * |
log | ) |
|
Configure a logging module.
This is usually done automatically in pw_init() but you can install a custom logger before calling pw_init().
◆ pw_log_set_level()
void pw_log_set_level |
( |
enum spa_log_level |
level | ) |
|
Configure the logging level.
◆ pw_log_level
enum spa_log_level pw_log_level |