[sheepdog] [PATCH] logger: clean printf styled log functions
Liu Yuan
namei.unix at gmail.com
Wed Jan 23 10:25:37 CET 2013
On 01/23/2013 04:34 PM, Hitoshi Mitake wrote:
> Current sheep employes names "dprintf" and "vprintf" for its internal
> logging usage. Unfortunately glibc provides functions which have same
> names.
>
> This patch clean these old functions and prepare new functions as
> alternatives. New functions are:
>
> sd_printf(): A simple wrapper for log_write(). Caller has to pass log
> level as its first parameter.
> sd_dprintf(): call log_write() with SDOG_DEBUG
> sd_eprintf(): call log_write() with SDOG_ERR
> sd_iprintf(): call log_write() with SDOG_INFO
I can't git am this patch, please rebase the patch to the latest master.
Thanks,
Yuan
More information about the sheepdog
mailing list