eventlog is a library for creating structured events from applications, and is the workhorse behind syslog-ng's own messages.