mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
implement proper logging
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@179 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
57e473b61c
commit
6c4fd62040
50 changed files with 416 additions and 225 deletions
17
polyp/log.h
Normal file
17
polyp/log.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef foologhfoo
|
||||
#define foologhfoo
|
||||
|
||||
#include "gcc-printf.h"
|
||||
|
||||
enum pa_log_target {
|
||||
PA_LOG_SYSLOG,
|
||||
PA_LOG_STDERR,
|
||||
PA_LOG_USER,
|
||||
};
|
||||
|
||||
void pa_log_set_ident(const char *p);
|
||||
void pa_log_set_target(enum pa_log_target t, void (*func)(const char*s));
|
||||
|
||||
void pa_log(const char *format, ...) PA_GCC_PRINTF_ATTR(1,2);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue