Skip to content

Custom JSON marshaller  #3

@kluzzebass

Description

@kluzzebass

The source attribute shows up like this in the Datadog interface:

&{Function:main.main File:main.go Line:53}

I would expect it to show up like in the slog.JSONHandler:

{"function":"main.main","file":"main.go","line":53}

(full paths redacted for brevity)

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