]> git.evergreen-ils.org Git - OpenSRF.git/commit
Performance tweak to the logging routines.
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Sat, 10 Oct 2009 02:28:49 +0000 (02:28 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Sat, 10 Oct 2009 02:28:49 +0000 (02:28 +0000)
commite08c2750da728fa248836cf53f0f95cd9c64f8aa
tree6328b97a15b05b1dd3ed2151573c5ec65b22e09e
parentad9c44f31e402b8376bcbd75188e4762b134ab0a
Performance tweak to the logging routines.

_osrfLogToFile() is no longer a variadic function.  We always sent it the
same format string, and there was no point in sending a variable-length
parameter list that never actually varied in length.

Now we send it a fixed-length parameter list -- and thereby avoid two
calls to vsnprintf() that had been hidden in the VA_LIST_TO_STRING macro.

Also: added doxygen-style comments to several of the functions.

M    src/libopensrf/log.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1810 9efc2488-bf62-4759-914b-345cdb29e865
src/libopensrf/log.c