Comments (1)
This is a problem with pytest
or pytest-xidst
.
In the code you shared, the format
of the logger
does not contain any color. Therefore, Loguru should not affect the colors of the Pytest output.
Maybe try by adding colorize=False
to your sink configuration.
from loguru.
Related Issues (20)
- What is the recommended way to 'type hint' a loguru logger being passed around or returned by a function? HOT 4
- gunicorn fastapi use loguru HOT 3
- daemonic processes are not allowed to have children HOT 3
- Enqueue slower than without HOT 3
- Traceback in file sink but not in stderr HOT 4
- RecordLevel lack of property βcolorβ HOT 5
- [Question] "deadlock avoided" errors with Kafka logging.Handler and InterceptHandler for Python logging HOT 3
- How to change logger depth to go "down" one level? HOT 1
- Publicly expose the code turning a dict filter to a filter function? HOT 4
- How can I customize exception formatting? HOT 2
- RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock. self.pid = os.fork() HOT 4
- Use different log levels for different loggers HOT 2
- Can I have multiple loggers? HOT 3
- How to include all args in the logged record? HOT 7
- Possibilities to add visual images to python log HOT 2
- Can't enqueue=True be used with multiple gunicorns? HOT 1
- catpure exception as extras? HOT 4
- How do I add two filters at once HOT 11
- Loguru suppresses an instance of logger from `logging.getLogger()` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loguru.