[PATCH v2 0/2] Logging functions

Ustun Ergenoglu ustun.ergenoglu at gmail.com
Mon Feb 13 14:30:11 PST 2012


From: Üstün Ergenoğlu <ustun.ergenoglu at 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



More information about the wayland-devel mailing list