debug: Add support to log to file.
When VIRGL_LOG_FILE gets set, put log into it. This is similar with MESA_LOG_FILE.
Signed-off-by: Lepton Wu lepton@chromium.org
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
When VIRGL_LOG_FILE gets set, put log into it. This is similar with MESA_LOG_FILE.
Signed-off-by: Lepton Wu lepton@chromium.org