Dragan Dosen 835b9212f6 MEDIUM: log: add a new log format flag "E"
The +E mode escapes characters '"', '\' and ']' with '\' as prefix. It
mostly makes sense to use it in the RFC5424 structured-data log formats.

Example:

log-format-sd %{+Q,+E}o\ [exampleSDID@1234\ header=%[capture.req.hdr(0)]]
2016-02-12 13:36:47 +01:00
..
2016-02-12 11:08:53 +01:00
2006-06-15 21:48:13 +02:00
2014-04-14 14:03:08 +02:00
2006-06-15 21:48:13 +02:00
2015-11-09 11:15:00 +01:00