main: Add support for the logging context when creating the compositor 62/24162/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 12 Feb 2020 11:08:37 +0000 (13:08 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 4 Mar 2020 10:18:41 +0000 (12:18 +0200)
commitc769a2723246f0494fb127e1ba1a70c5149db792
tree9406714fdb7596159c1f2a4f9f75cdc2632f19f3
parenta17bac48464b5f2b6359856a75caae882d9a48f6
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