From: Üstün Ergenoğlu <ustun.ergeno...@gmail.com>

Here's another attempt to add some logging functionality, this time on Weston
instead of Wayland as Thiago suggested. In addittion, I added the WL_LOG_* 
macros
that include the file and line info in the printed log lines.

Üstün Ergenoğlu (2):
  Added logging methods.
  Replaced fprintf calls with logging functions.

 src/Makefile.am          |    2 +
 src/compositor-drm.c     |   60 ++++++++++----------
 src/compositor-openwfd.c |   37 ++++++------
 src/compositor-wayland.c |   27 +++++----
 src/compositor-x11.c     |   21 ++++---
 src/compositor.c         |   60 ++++++++++----------
 src/evdev.c              |   10 ++--
 src/log.c                |  141 ++++++++++++++++++++++++++++++++++++++++++++++
 src/log.h                |   75 ++++++++++++++++++++++++
 src/shell.c              |   11 ++--
 src/tablet-shell.c       |   10 ++--
 src/tty.c                |   29 +++++-----
 src/xserver-launcher.c   |  136 ++++++++++++++++++++++----------------------
 13 files changed, 420 insertions(+), 199 deletions(-)
 create mode 100644 src/log.c
 create mode 100644 src/log.h

-- 
1.7.9

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

Reply via email to