On Fri, 4 May 2018 07:55:10 -0500
Matt Hoosier <matt.hoos...@gmail.com> wrote:

> On Fri, May 4, 2018 at 2:13 AM, Pekka Paalanen <ppaala...@gmail.com> wrote:
> 
> > The crucial call to make is weston_log_set_handler() with non-NULL
> > arguments before any other libweston calls.
> >  
> 
> I wonder if this could be made clearer by adding an assert in weston_log()
> if no handler has been installed yet.

Definitely. :-)
A shout to stderr and abort() would be fine. Or even have the handlers
initilized to ones that shout and abort().


Thanks,
pq

Attachment: pgpoV3_dKgodu.pgp
Description: OpenPGP digital signature

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to