Comments (1)
Hi @benjyz.
As evoked in the features presentation, Loguru provides two additional levels (compared to the standard library): trace()
and success()
.
So you can use logger.trace("Your message")
and it should work (but don't forget to set the handler level adequately otherwise logs will ne be displayed).
You can also add custom levels or modify existing ones using the .level()
method.
from loguru.
Related Issues (20)
- 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
- When running pytest use cases using Pytest-xDist multiprocesses. The color of the loguru log output from the console is all red. HOT 1
- 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
- Adding data to log after API has started. HOT 1
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.