Skip to content

Commit c41d563

Browse files
committed
fix(logs): when nothing needed to be sent, the logger still pushed out a debug message.
1 parent 5887bc7 commit c41d563

File tree

2 files changed

+288
-249
lines changed

2 files changed

+288
-249
lines changed

logprise/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def send_notification(
363363
) -> None:
364364
"""Send a single notification with all accumulated logs."""
365365
if not self.buffer:
366-
logger.debug("No logs to send")
366+
logger.trace("No logs to send")
367367
return
368368

369369
# Format the buffered logs into a single message

0 commit comments

Comments
 (0)