debug messages are sent in stderr stream (Thanks to Spock)
This commit is contained in:
parent
8549bc1e4c
commit
4990f57df8
1 changed files with 3 additions and 3 deletions
|
@ -60,8 +60,8 @@ log_put (char *category, char *priority, char *format, ...)
|
||||||
{
|
{
|
||||||
va_list va;
|
va_list va;
|
||||||
va_start (va, format);
|
va_start (va, format);
|
||||||
printf ("%s\t%s\t", priority, category);
|
fprintf (stderr, "%s\t%s\t", priority, category);
|
||||||
vprintf (format, va);
|
vfprintf (stderr, format, va);
|
||||||
printf ("\n");
|
fprintf (stderr, "\n");
|
||||||
va_end (va);
|
va_end (va);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue