/** Configure a logging module. This is usually done automatically *inpw_init()butyoucaninstallacustomloggerbeforecalling
* pw_init(). */ void pw_log_set(struct spa_log *log);
/** Get the log interface */ struct spa_log *pw_log_get(void);
/** Configure the logging level */ void pw_log_set_level(enum spa_log_level level);
/** *Configurethelogginglevelusingastring *inPIPEWIRE_DEBUGformat. * *\since1.1.0
*/ int pw_log_set_level_string(constchar *str);
/** Log a message for a topic */ void
pw_log_logt(enum spa_log_level level, conststruct spa_log_topic *topic, constchar *file, int line, constchar *func, constchar *fmt, ...) SPA_PRINTF_FUNC(6, 7);
/** Log a message for a topic */ void
pw_log_logtv(enum spa_log_level level, conststruct spa_log_topic *topic, constchar *file, int line, constchar *func, constchar *fmt, va_list args) SPA_PRINTF_FUNC(6, 0);
/** Log a message for the default topic */ void
pw_log_log(enum spa_log_level level, constchar *file, int line, constchar *func, constchar *fmt, ...) SPA_PRINTF_FUNC(5, 6);
/** Log a message for the default topic */ void
pw_log_logv(enum spa_log_level level, constchar *file, int line, constchar *func, constchar *fmt, va_list args) SPA_PRINTF_FUNC(5, 0);
/** Check if a loglevel is enabled */ #define pw_log_level_enabled(lev) (pw_log_level >= (lev)) #define pw_log_topic_enabled(lev,t) ((t) && (t)->has_custom_level ? (t)->level >= (lev) : pw_log_level_enabled((lev)))
/* check is a custom level was assigned to a topic. \since 1.1.0 */ #define pw_log_topic_custom_enabled(lev,t) ((t) && (t)->has_custom_level && (t)->level >= (lev))
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.