mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[logger] Expose log severity
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user