Skip to content

Add detail convenience methods #30

Description

Instead of just the WithDetail[s] methods, there should convenience methods to add common detail types:

log.String("result", "success").Duration("elapsed", time.Since(t)).Info("call complete")

Activity

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

    pkg/slogStructured Logger packagetype/featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions