summaryrefslogtreecommitdiffstats
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2012-03-20 00:22:18 +0100
committerGergely Nagy <algernon@madhouse-project.org>2012-03-20 00:22:18 +0100
commit5d9a0c37bd042ba8450c5644af6484db51eca44e (patch)
tree932f05a3cf9d7a0afb6a7d87028783ee61c5b90c /lib/buffer.c
parente63ea67d0679d19c6142923e606f15d51708819c (diff)
Implement the new syslog() overrides.
Changed the API, so that we have cee_(v)syslog(), which is the enhanced syslog API, that takes key-value pairs in addition to the traditional message, and outputs CEE-JSON to syslog. We also have (v)syslog() overrides, that do the same, just without the extra key-value pairs. Both of these add some extra stuff, via _cee_discover(): at the moment, this is the facility, the priority and the pid. We also override openlog(), that stores some info in thread-local storage. That info is used by _cee_discover(). For future use, this patch also defines LOG_CEE_NODISCOVER and LOG_CEE_NOCACHE. They're not used anywhere yet, though. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'lib/buffer.c')
0 files changed, 0 insertions, 0 deletions