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

Improve logging for tests #65

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Improve logging for tests #65

merged 1 commit into from
Jan 31, 2025

Conversation

yacovm
Copy link
Collaborator

@yacovm yacovm commented Jan 30, 2025

  • Fix caller skip (was wrong)
  • Move it to its own package to be imported from both _test package and non _test package
  • Put a better looking date and time format
  • Add the name of the test to the logger so we understand which test it corresponds to

Code shamelessly copied from avalancheGo

@yacovm yacovm force-pushed the improveLogging branch 2 times, most recently from 4b9c1f1 to 5209e6d Compare January 30, 2025 23:54
- Fix caller skip (was wrong)
- Move it to its own package to be imported from both _test package and non _test package
- Put a better looking date and time format
- Add the name of the test to the logger so we understand which test it corresponds to

Code shamelessly copied from avalancheGo

Signed-off-by: Yacov Manevich <[email protected]>
@yacovm yacovm merged commit 6c4e833 into main Jan 31, 2025
4 checks 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.

2 participants