Add syslog support.

Fixes #45.