Awesome
Name
lua-resty-rfc5424
lua-resty-rfc5424
This is an implementation of the RFC5424 <syslog> in the OpenResty
Table of Contents
Status
Production Ready
Usage
It's recommended to use lua-resty-logger-socket and rsyslog together:)
Production Architecture can be as the following:
API
encode
syntax: rfc5424.encode(facility, severity, hostname, pid, appname, msg)
This will encode the msg to the rfc5424 format:
Contributing
To contribute to lua-resty-rfc5424, clone this repo locally and commit your code on a separate branch.
PS: PR Welcome :rocket: :rocket: :rocket: :rocket:
Author
GitHub @detailyang
License
lua-resty-rfc5424 is licensed under the MIT license.