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 #onReportLogs(logs) #64

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

juliangruber
Copy link
Contributor

Overwrite this function to handle logs yourself in addition to the Saturn pipeline. This is required for Voyager.

Overwrite this function to handle logs yourself in addition to the
 Saturn pipeline.
Copy link

@travis travis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems sensible to me! Worth noting I have 0 context with the Saturn client so it would be great to get signoff from @joaosa and/or @hannahhoward too

Copy link
Contributor

@hannahhoward hannahhoward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind making this a config parameter? I'm not generally a fan of overwriting functions or subclassing.

src/client.js Outdated Show resolved Hide resolved
@hannahhoward hannahhoward merged commit e6578e0 into filecoin-saturn:main Mar 27, 2024
1 check passed
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.

None yet

3 participants