mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[logger] Expose log severity
This commit is contained in:
parent
e7f8b7010b
commit
c747456880
@ -260,6 +260,12 @@ logger_reinit(void)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
logger_severity(void)
|
||||
{
|
||||
return threshold;
|
||||
}
|
||||
|
||||
/* The functions below are used at init time with a single thread running */
|
||||
void
|
||||
logger_domains(void)
|
||||
|
@ -48,6 +48,7 @@
|
||||
#define E_SPAM 5
|
||||
|
||||
|
||||
|
||||
void
|
||||
DPRINTF(int severity, int domain, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
|
||||
|
||||
@ -65,6 +66,9 @@ logger_alsa(const char *file, int line, const char *function, int err, const cha
|
||||
void
|
||||
logger_reinit(void);
|
||||
|
||||
int
|
||||
logger_severity(void);
|
||||
|
||||
void
|
||||
logger_domains(void);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user