projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0f214ff
)
src/utils/log.c: also print warnings to stderr
author
Paul Brossier
<piem@piem.org>
Wed, 4 Jan 2017 15:44:55 +0000
(16:44 +0100)
committer
Paul Brossier
<piem@piem.org>
Wed, 4 Jan 2017 15:44:55 +0000
(16:44 +0100)
src/utils/log.c
patch
|
blob
|
history
diff --git
a/src/utils/log.c
b/src/utils/log.c
index
55aa993
..
967c2d6
100644
(file)
--- 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;
{
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);
out = stderr;
}
fprintf(out, "%s", message);