Skip to content

Adding Lambda as a key in logs #367

Closed Answered by deric4
Padwicker asked this question in Q&A
Mar 26, 2021 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

I haven't tried it specifically for this library, but you might be able to get away with implementing dictionary unpacking which might look something like this :

fields_to_append = {'lambda': 'whatever'}
logger.structure_logs(append=True, **fields_to_append)

or, theres always using a different field name lol 🙃

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Padwicker
Comment options

You must be logged in to vote
1 reply
@Padwicker
Comment options

Comment options

You must be logged in to vote
1 reply
@Padwicker
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants