Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log function to post-process Context #364

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

zerebubuth
Copy link
Member

This will allow output of JSON log messages from post-processing functions. The function can be called with any data which is JSON-ifiable, i.e: consists of plain dict, list, etc... On its way up back out of the call stack it will automatically be annotated with various bits of data about the coordinate being processed and the post-processing step.

The idea is that this gets output to the Batch logs and we can process it from there to analyse further.

This will allow output of JSON log messages from post-processing functions. The function can be called with any data which is JSON-ifiable, i.e: consists of plain `dict`, `list`, etc... On its way up back out of the call stack it will automatically be annotated with various bits of data about the coordinate being processed and the post-processing step.

The idea is that this gets output to the Batch logs and we can process it from there to analyse further.
@zerebubuth zerebubuth merged commit c410aa5 into master Jan 29, 2019
@zerebubuth zerebubuth deleted the zerebubuth/add-logger-to-context branch January 29, 2019 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants