[Vortex] Patch: Client-configurable logging callback

Jens Alfke jens at mooseyard.com
Tue Dec 18 20:28:51 CET 2007


This patch adds a VortexLogHandler callback that the client can  
configure to take control of logging messages. If non-NULL, the  
callback is invoked instead of the printf calls that vortex would  
normally make.

This allows the client to print Vortex log messages through its own  
logging facilities instead of stdout. The client can also filter the  
messages by domain and level -- for instance, it could suppress  
'debug'-level messages, or only print messages relating to TLS. (I was  
starting to add such filtering features to the Vortex API, but then  
realized it would be a lot easier and more general to let the client  
install its own callback.)

This patch is based on SVN revision 3194, which was TOT as of an hour  
or so ago.

--Jens

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vortex-logger.patch
Type: application/octet-stream
Size: 4548 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/vortex/attachments/20071218/ba23cd9b/attachment.obj 
-------------- next part --------------



More information about the Vortex mailing list