Format data appended and prepended to the log message so that only one call to
write is necessary
Signed-off-by: Vincent Becker vincentx.bec...@intel.com
---
src/pulsecore/log.c | 130 +++---
1 files changed, 80 insertions(+), 50 deletions(-)
diff
Format data appended and prepended to the log message so that only one call to
write is necessary
Signed-off-by: Vincent Becker vincentx.bec...@intel.com
---
src/pulsecore/log.c | 160 ++-
1 files changed, 95 insertions(+), 65 deletions(-)
diff
: optimize log data
format before writing to target
Note that this patch would need to be discussed on the list. Its main purpose
is to avoid multiple calls to write, which can be the case when writing to a
file descriptor. Indeed, the patch applied before did 2 calls to write as the
metadata needed