xlog.so is a small library that can be used to log all calls made to the xlib library. It is an example of how my logerGen tool can be used to make library interposers that log all calls made to a library.
Please forgive my misspellings and lack of refactoring, I pushed it out quite quickly. The README includes instructions for building and using xlog.
xlog is licensed under the GPL, and may be downloaded here .