mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 18:58:09 -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 */
|
/* The functions below are used at init time with a single thread running */
|
||||||
void
|
void
|
||||||
logger_domains(void)
|
logger_domains(void)
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
#define E_SPAM 5
|
#define E_SPAM 5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
DPRINTF(int severity, int domain, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
|
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
|
void
|
||||||
logger_reinit(void);
|
logger_reinit(void);
|
||||||
|
|
||||||
|
int
|
||||||
|
logger_severity(void);
|
||||||
|
|
||||||
void
|
void
|
||||||
logger_domains(void);
|
logger_domains(void);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user