weston_log_ctx_compositor_*() API problems
weston_log_ctx_compositor_create()should be called
weston_log_ctx_create()because it has no relation to any compositor.
weston_log_ctx_compositor_setup()should be folded into
weston_compositoras argument, how is one supposed to destroy a log context that was never associated with any
weston_log_ctx_destroy()should take a
weston_log_contextas the argument.
The last one is not trivial because of
weston_log_context::global which needs to be destroyed with
weston_compositor. Maybe that variable should live in
struct weston_compositor instead?