Skip to content

Conversation

@Msameim181
Copy link
Owner

fix: enhance the main logger init and remove fastapi, django, and socket from root initiation.

Copilot AI review requested due to automatic review settings April 29, 2025 08:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the core logging module by removing framework-specific initializations from the package’s root and enhancing the main logger init structure, along with a version bump.

  • The init.py file now only imports and exposes core logging components and tracing utilities.
  • The pyproject.toml version has been updated from 0.2.12 to 0.2.13.
  • The README examples have been updated to reflect the new import paths for framework-specific middleware integrations.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/chromatrace/init.py Removed FastAPI, Django, and SocketIO imports from the root; restructured all definitions to expose only core components.
pyproject.toml Bumped the package version from 0.2.12 to 0.2.13.
README.md Updated code samples to import middleware from their respective submodules rather than the root.

@Msameim181 Msameim181 merged commit 4b06b6c into develop Apr 29, 2025
3 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