log: Have function parameter names match between .c and .h file

This fixes two related Doxygen warnings.
buffersrc: Have function parameter names match between .c and .h file

This fixes two related Doxygen warnings.  Also document one parameter.