[sheepdog] [PATCH] add a print function for each log level

Liu Yuan namei.unix at gmail.com
Fri Aug 9 19:16:09 CEST 2013


On Sat, Aug 10, 2013 at 12:17:07AM +0900, MORITA Kazutaka wrote:
> From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> 
> This adds the following functions.
> 
>    sd_emerg()  to log message with SDOG_EMERG
>    sd_alert()  to log message with SDOG_ALERT
>    sd_crit()   to log message with SDOG_CRIT
>    sd_err()    to log message with SDOG_ERR
>                (sd_eprintf is removed)
>    sd_warn()   to log message with SDOG_WARN
>    sd_notice() to log message with SDOG_NOTICE
>    sd_info()   to log message with SDOG_INFO
>                (sd_iprintf is removed)
>    sd_debug()  to log message with SDOG_DEBUG
>                (sd_dprintf is removed)
> 
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Applied after fixing sheep_priv.h

Thanks
Yuan



More information about the sheepdog mailing list