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

feat(loguru): add message format configuration arguments #2208

Merged
merged 9 commits into from
Jun 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update import statement.
  • Loading branch information
Gwill committed Jun 30, 2023
commit 95c4b8c1a4573a1335aabaa2aafeaf363968e101
3 changes: 1 addition & 2 deletions sentry_sdk/integrations/loguru.py
Original file line number Diff line number Diff line change
@@ -15,9 +15,8 @@
from typing import Optional, Tuple

try:
from loguru import logger
from loguru import logger, FormatFunction
from loguru._defaults import LOGURU_FORMAT as DEFAULT_FORMAT
from loguru import FormatFunction
except ImportError:
raise DidNotEnable("LOGURU is not installed")