Wayland: logging
authorMartin Minarik <minarik11@student.fiit.stuba.sk>
Tue, 29 May 2012 15:37:02 +0000 (17:37 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 31 May 2012 17:57:15 +0000 (13:57 -0400)
commit8e2a7867038ee6f536a56a0600d9e9bc777e2c31
tree1d36bbb6ce6b82d927dc375217afeecaeb117dda
parentb858a1b87b6301dcad48025dcb54fc931664e068
Wayland: logging

The core libwayland libraries should not handle logging, only passing
the error messages to subscribed functions.
An application linked to libwayland-server or libwayland-client
will be able to set own functions (one per library) to handle error
messages.

Change in this series: make the wl_log return int, because
of compatibility with printf. It will return the number of bytes logged.
src/wayland-client.c
src/wayland-client.h
src/wayland-private.h
src/wayland-server.c
src/wayland-server.h
src/wayland-util.c
src/wayland-util.h