commit | fb4c208c33788068bbca67bdd6d11127b5be5a26 | [log] [tgz] |
---|---|---|
author | Toby Gray <toby.gray@realvnc.com> | Thu Jun 27 14:49:21 2013 +0100 |
committer | Hans de Goede <hdegoede@redhat.com> | Thu Jun 27 17:10:38 2013 +0200 |
tree | 959e65a2e2e8f9b557f6936a7fc00b493b484ecc | |
parent | e2c54d93b1fd89517b75e6761fad72f7c35532ad [diff] |
Core: Make writing of log lines a single fprintf call. Prior to this change a single line of logging performing several fprintf. This change gets all the data for a line to be logged in a single fprintf call. This reduced the chances of writes from another thread getting intermixed with a log line. It also makes it easier to change where logs are output to in the future. Signed-off-by: Hans de Goede <hdegoede@redhat.com>