hsyslog Documentation can be found on hackage. Implementation is guided by the POSIX 1.2008 documentation.