Encoding API and project evolution questions.
The README says:
Go package for parsing (and, eventually, generating) log lines in the logfmt style.
Is there still interest in working on the generating part?
I've been contributing to both log15 and gokit/log. log15 already supports a logfmt flavor of output, and gokit/log would like to. In https://github.com/peterbourgon/gokit/issues/34 I suggested it would be nice to have an encoding/json or encoding/xml style package that supports marshaling and unmarshaling logfmt data with support for the encoding.TextMarshaler and encoding.TextUnmarshaller interfaces.
Is there interest in doing that work here? If not, would @kr and @bmizerany object to a new project attempting to create such an API for logfmt, possibly starting as a fork of this repo? Would you be willing to help with feedback if questions arise regarding logfmt specifics?
I use the log package. It is very useful for generating logs. If you want to start another project I don't think @kr or I would object. On Wed, May 6, 2015 at 6:58 PM Chris Hines [email protected] wrote:
The README says:
Go package for parsing (and, eventually, generating) log lines in the logfmt style.
Is there still interest in working on the generating part?
I've been contributing to both log15 https://github.com/inconshreveable/log15 and gokit/log https://github.com/peterbourgon/gokit. log15 already supports a logfmt flavor https://godoc.org/gopkg.in/inconshreveable/log15.v2#LogfmtFormat of output, and gokit/log would like to. In peterbourgon/gokit#34 https://github.com/peterbourgon/gokit/issues/34 I suggested it would be nice to have an encoding/json or encoding/xml style package that supports marshaling and unmarshaling logfmt data with support for the encoding.TextMarshaler and encoding.TextUnmarshaller interfaces.
Is there interest in doing that work here? If not, would @kr https://github.com/kr and @bmizerany https://github.com/bmizerany object to a new project attempting to create such an API for logfmt, possibly starting as a fork of this repo? Would you be willing to help with feedback if questions arise regarding logfmt specifics?
— Reply to this email directly or view it on GitHub https://github.com/kr/logfmt/issues/5.
+1
I have started the project. Find it at https://github.com/go-logfmt/logfmt, if you care to comment or review.