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

refactor(logging): enhance logging setup and usage #224

Merged
merged 2 commits into from
Nov 28, 2024
Merged

refactor(logging): enhance logging setup and usage #224

merged 2 commits into from
Nov 28, 2024

Conversation

haraldh
Copy link
Contributor

@haraldh haraldh commented Nov 28, 2024

  • Modified the setup_logging function to return a Subscriber, improving flexibility and reuse.
  • Integrated tracing::subscriber::set_global_default in the main functions to establish the logging subscriber globally.
  • Added configurations for span events and control over file and line information display.

- Modified the `setup_logging` function to return a `Subscriber`, improving flexibility and reuse.
- Integrated `tracing::subscriber::set_global_default` in the main functions to establish the logging subscriber globally.
- Added configurations for span events and control over file and line information display.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
@haraldh haraldh requested a review from a team as a code owner November 28, 2024 14:50
@pbeza pbeza merged commit 6e88e20 into main Nov 28, 2024
14 checks passed
@pbeza pbeza deleted the fix_logging branch November 28, 2024 16:25
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