New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syslog-related functions #19

Merged
merged 1 commit into from May 17, 2016

Conversation

Projects
None yet
2 participants
@joschi
Contributor

joschi commented Apr 26, 2016

This PR adds functions to convert numeric syslog levels or facilities to readable strings (syslog_level, syslog_facility) and functions to convert syslog priorities to a struct containing numeric/string levels and facilities (expand_syslog_priority, expand_syslog_priority_as_string).

I'm not 100% happy with the naming of the functions, so better alternatives are welcome.

@joschi joschi added the enhancement label Apr 26, 2016

@joschi joschi added this to the 1.0.0 milestone Apr 26, 2016

@kroepke kroepke merged commit 2055a87 into master May 17, 2016

@kroepke kroepke deleted the syslog-converters branch May 17, 2016

kroepke added a commit that referenced this pull request May 17, 2016

Add syslog-related functions (#19)
(cherry picked from commit 2055a87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment