Skip to content

Conversation

@chrissnell
Copy link

This PR adds two new features to the package:

  • Support for RFC 5424-style packets
  • Support for runes within the syslog tag that would otherwise be RFC non-compliant. These runes can be specified with the AddAllowedRunes() function, which takes a string of runes that shall be allowed:
    s := syslog.NewServer()
    s.AddAllowedRunes("-._")  \\ Allows dashes, periods, and underscores in the syslog tag
    s.AddHandler(newHandler())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants