Re: [PATCH] wayland: introduce logging with syslog

2011-07-25 Thread Tiago Vignatti
On 07/25/2011 06:18 PM, Kristian Høgsberg wrote: On Fri, Jul 22, 2011 at 1:01 PM, Tiago Vignatti wrote: Three level of messages are possible, which are sent to syslog: WL_INFO, WL_WARNING and WL_ERROR; the last two are printed also to stderr due sanity. The only interface for the compositor an

Re: [PATCH] wayland: introduce logging with syslog

2011-07-25 Thread Kristian Høgsberg
On Fri, Jul 22, 2011 at 1:01 PM, Tiago Vignatti wrote: > Three level of messages are possible, which are sent to syslog: WL_INFO, > WL_WARNING and WL_ERROR; the last two are printed also to stderr due > sanity. The only interface for the compositor and clients is > >    void wl_log(int level, cons

[PATCH] wayland: introduce logging with syslog

2011-07-22 Thread Tiago Vignatti
Three level of messages are possible, which are sent to syslog: WL_INFO, WL_WARNING and WL_ERROR; the last two are printed also to stderr due sanity. The only interface for the compositor and clients is void wl_log(int level, const char *f, ...); It requires a small intervention on the system