log: Modify the implementation such that it uses asprintf()
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 13 Mar 2018 22:28:17 +0000 (15:28 -0700)
committerBart Van Assche <bart.vanassche@wdc.com>
Mon, 19 Mar 2018 17:39:28 +0000 (10:39 -0700)
commit9274160ea2b40b94f27bc4479ac8b534fb09e85d
treed149fa7dfde5fe9d8347493366a4df146a3b17b5
parent44e8e956254815d90472076951b81bc933f83fd5
log: Modify the implementation such that it uses asprintf()

This makes the logging implementation simpler and easier to read.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
log.c