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

change: Improve logging calls to Timber #430

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

nikclayton
Copy link
Contributor

  • Use format strings so any overhead of building the string is only incurred if the message is actually logged

  • Pass throwables as the first parameter so they are logged with the stacktrace

- Use format strings so any overhead of building the string is only
  incurred if the message is actually logged

- Pass throwables as the first parameter so they are logged with the
  stacktrace
@nikclayton nikclayton merged commit 96474a9 into pachli:main Feb 9, 2024
6 checks passed
@nikclayton nikclayton deleted the timber-format branch February 9, 2024 16:33
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.

1 participant