powerful sprintf function.

Signed-off-by: wuliang <wuliang-b@360.cn>