loguru icon indicating copy to clipboard operation
loguru copied to clipboard

Python logging made (stupidly) simple

Results 296 loguru issues
Sort by recently updated
recently updated
newest added

Hi, Tom from Codecov here. I saw that you used Codecov already, and I thought you could benefit from catching any flaky or failed tests. We released a [Test Analytics](https://docs.codecov.com/docs/test-analytics)...

Hi We pass a network-send function as the compression argument `logger.add(..., compression=upload_logs)`. We are required to use `spawn` in all operation systems. When creating a process pool (`apply_async`, as described...

## Description We encountered deadlocks in our application when using loguru in a multi-threaded environment with Dramatiq. The deadlocks occur when external exceptions (specifically Dramatiq's `TimeLimitExceeded`) are raised during logging...

Hi, First just wanted to say I'm really enjoying this package. It made logging fun and simple for me. I have a question/issue when trying to log from a thread...

QUESTION:: I have tried everything I can think of to get extra properties saved to SEQ. My log event JSON works with the SEQ HTTP endpoint (http://localhost:5341/api/events/raw) but does not...

### Description: When working with `logger.catch()`, users often want to log a success message and perform additional actions when operations complete without exceptions. This enhancement would streamline error handling and...

feature
documentation

nb_log_config.py ```py LOG_FILE_SIZE = 0.5 # 单位是M,每个文件的切片大小,超过多少后就自动切割 LOG_FILE_BACKUP_COUNT = 5 # 对同一个日志文件,默认最多备份几个文件,超过就删除了。 ``` code: ```python import datetime import threading import time from multiprocessing import Process import nb_log current_time = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")...

Github allows a website to show below the repository's description. Configuring it with the URL to the docs would make the URL easier to get. Where: About (above the description)...

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 4.1.0 to 4.2.0. Release notes Sourced from pre-commit's releases. pre-commit v4.2.0 Features For language: python first attempt a versioned python executable for the default language version before...

dependencies
python

Curious where I can read up on LOGURU_LEVEL and other related environment variables. I only discovered their existence through GitHub issues and a couple of unexposed Python files. Are these...

documentation