Improve logging

This commit is contained in:
Wim Taymans 2017-01-19 18:53:45 +01:00
parent 0398f997d7
commit e92e1acec4
4 changed files with 44 additions and 23 deletions

View file

@ -35,6 +35,10 @@
void
pinos_init (int *argc, char **argv[])
{
const char *str;
if ((str = getenv ("PINOS_DEBUG")))
pinos_log_set_level (atoi (str));
}
const char *