[Trace] Add timestamp logging to prover module for better traceability #200
+27
−14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Team,
I would like to propose adding timestamp logging to prover.rs as an initial step to improve log traceability and debugging capabilities. This change adds timestamps to proof generation logs while maintaining the current log format and structure.
The enhancement aims to provide better visibility into proof timing and execution flow, making it easier to:
The implementation is minimally invasive, only adding timestamps while preserving all existing log formatting and behavior.
Changes
chrono::Local
for timestamp generation in prover moduleprintln_with_time
helper function andprintln_time!
macro for prover logsExample log output:
Notes
Thanks