Skip to content

Encoding API and project evolution questions. #5

Open

Description

@ChrisHines

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 go-kit/kit#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?

Activity

  1. bmizerany commented on May 7, 2015

    @bmizerany
    Collaborator

    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 notifications@github.com 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 go-kit/kit#34
    go-kit/kit#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
    #5.

  2. kr commented on May 7, 2015

    @kr
    Owner

    +1

  3. ChrisHines commented on May 11, 2015

    @ChrisHines
    Author

    I have started the project. Find it at https://github.com/go-logfmt/logfmt, if you care to comment or review.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions