main: Add support for the logging context when creating the compositor 45/23945/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 12 Feb 2020 11:08:37 +0000 (13:08 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 17 Feb 2020 14:43:35 +0000 (14:43 +0000)
commitad413711dab65ced91ad7d51abe23bc8c86207e5
tree817bc6ece9f3f48a15d623415d62fa539a2708f3
parentc33644e558bc32dbfc8afb53e010325cc62c2858
main: Add support for the logging context when creating the compositor
instance

The logging context was added in weston 7, but we didn't had supporting
code for it. This creates a logging context, a logging log scope, and a
logger subscriber.

Bug-AGL: SPEC-3180

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f5687fc3b68b79e3fd37a100fd6fa1f3bc1a2ae
src/main.c