[PATCH] Weston: log.c, log.h: Logging
Martin Minarik
minarik11 at student.fiit.stuba.sk
Sat May 26 08:54:21 PDT 2012
Logging to file can be initiated by:
weston_log_file_create() , weston_log_file_destroy()
For writing log messages themselves, use wl_log()
or W_PRINTF()
Provides weston_log_duplicator handler for writing both
to file and stderr.
---
src/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 794b521..0c7566f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,8 @@ weston_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
weston_LDADD = $(COMPOSITOR_LIBS) $(DLOPEN_LIBS) -lm ../shared/libshared.la
weston_SOURCES = \
+ log.c \
+ log.h \
compositor.c \
compositor.h \
filter.c \
--
1.7.5.4
More information about the wayland-devel
mailing list