The Mesa log infrastructure is really useful as it allows us to get debug and error information in Android systems. Apart from that, it also allows us to forward diagnostics into the right logs and files. Therefore, instead of using stderr for all messages, use Mesa log and separate the messages into debugging and error messages. Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32304>