Skip to content

Add detail convenience methods #30

@ghost

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")

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