util/log: add more loggers and let mesa/main use it
The first 6 commits add/improve loggers used by mesa_log
-
MESA_LOG
is added to controlmesa_log
-
MESA_LOG=file
logs tostderr
by default and can log to any file specified byMESA_LOG_FILE
-
MESA_LOG=android
gainsMESA_LOG=wait
to reduce message drop -
MESA_LOG=syslog
is a new logger for syslog
The last 3 commits change output_if_debug
to use mesa_log
.