From: Paul Brossier Date: Wed, 4 Jan 2017 15:44:55 +0000 (+0100) Subject: src/utils/log.c: also print warnings to stderr X-Git-Tag: 0.4.4~14 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f5e9e3f2f288bc6fa111cbed755fb8f2303c13ef;p=aubio.git src/utils/log.c: also print warnings to stderr --- diff --git a/src/utils/log.c b/src/utils/log.c index 55aa9935..967c2d6c 100644 --- a/src/utils/log.c +++ b/src/utils/log.c @@ -34,7 +34,7 @@ aubio_default_log(sint_t level, const char_t *message, void * data UNUSED) { FILE *out; out = stdout; - if (level == AUBIO_LOG_DBG || level == AUBIO_LOG_ERR) { + if (level == AUBIO_LOG_ERR || level == AUBIO_LOG_DBG || level == AUBIO_LOG_WRN) { out = stderr; } fprintf(out, "%s", message);