Skip to content

[Feature Request - 6.0] Pass context to logging functions #528

Open
@adrianiacobghiula

Description

@adrianiacobghiula

Hi,

In the ideea of having a consistent trace of a request in the logs is it possible to have the context as first parameter in the logging functions ( https://github.com/neo4j/neo4j-go-driver/blob/5.0/neo4j/log/logger.go#L46-L49 ) .I believe one could, then, add a "requestID" in the context and expect to have this parameter in a custom implementation of the logger to print it

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions