Skip to content

Do structlog_gcp has any support for context vars? #34

Closed Answered by multani
josiasdeveloper asked this question in Q&A
Discussion options

You must be logged in to vote

@josiasdeveloper I released https://github.com/multani/structlog-gcp/releases/tag/v0.3.0 which provides context variables support by default.

if you configure structlog with:

processors = structlog_gcp.build_processors()
structlog.configure(processors=processors)

You should have context variables support automatically now. Hope it helps!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by multani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants