lua-resty-rfc5424

It is an implementation of the RFC5424(syslog) in the OpenResty

[rfc5424]: https://tools.ietf.org/html/rfc5424 [lua-resty-logger-socket]: https://github.com/cloudflare/lua-resty-logger-socket [rsyslog]: http://www.rsyslog.com

Name

lua-resty-rfc5424

lua-resty-rfc5424

This is an implementation of the RFC5424 in the OpenResty

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.

[MIT]: https://github.com/detailyang/ybw/blob/master/licenses/MIT

Authors

Bingwu Yang (detailyang)

License

mit

Dependencies

ngx_http_lua

Versions