BACKPORT: util: Create a new logger with log levels

Allows non-C consumers like crosvm to not rely on va_list, and allows the logger
to actually filter the messages by level.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1164>

BUG=421981472
TEST=CI

Change-Id: I9527ee8ba6989c7856da4517423ef84740747d8e
4 files changed