Hi all,

I suspect that my google foo has failed me but I haven't be able to find 
quite what I am looking for. I am looking for logging package package that 
tightly integrates with rfc5424. 

1. make it easy to construct messages that conform rfc5424
2. emits those messages to io.Writer (e.g os.Stdout)
3. supports log levels (nice to have)
4. light weight - I want this logging library to *only* do that. I am not 
interested in something like logrus even if could be made to work.

I did find packages like this

https://pkg.go.dev/github.com/crewjam/rfc5424#section-readme

And I could certainly create an io.Writer and pass that to both logger.New 
and the third party library that does syslog message construction. But I 
find the API a little awkward. I searching for something more ergonomic. If 
nothing like this exists, I'll just roll my own but I assumed I'd be 
re-inventing the wheel and would prefer not to if such a wheel already 
exists.

Thanks,
Joe 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/3d5e486d-3676-411c-aa78-5e83100df5can%40googlegroups.com.

Reply via email to