On 5/24/07, Mike Dransfield <[EMAIL PROTECTED]> wrote: > Attached is a quick patch which adds a logging framework to compiz. > I think it should be fairly self explanitory. > > I think it should allow plugin writers to extend it for any purpose, but > I would appreciate any feedback or comments before going any further.
Looks good, we did something similar with Beryl which at least I believe helped. How about moving the proc to CompScreen? That way, I can wrap the function in a hypothetical debug plug-in to print information about the screen the log message occurred on (I have two). While plug-ins can obviously create their own macros, I also believe it makes a lot of sense to have a few macros for this in compiz.h, specially for core. -- Regards, Kristian _______________________________________________ compiz mailing list compiz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/compiz