Add logging functionality
authorMartin Minarik <minarik11@student.fiit.stuba.sk>
Thu, 7 Jun 2012 11:08:46 +0000 (13:08 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Jun 2012 17:11:29 +0000 (13:11 -0400)
commit19e6f2693d09f9d9df03df3b404b54516783560e
treedc0411c7d90ab9687d64b7e596a9dd9163494262
parent3ab7269a9b6233b972b5288d35c912cd4c722235
Add logging functionality

This is logging functionality for weston compositor.

It handles:
messages coming from libwayland-server from wl_log()
messages from weston itself, from weston_log()

Introduce --log option, to specify log file path on the command line.
When the path is incorrect, or on weston_log_file_destroy(), fall
back to stderr.
src/Makefile.am
src/compositor.c
src/log.c [new file with mode: 0644]
src/log.h [new file with mode: 0644]