Comments (4)
See hynek/structlog#596 for discussion
from logot.
@will-ockmore - You mentioned you were keen to add this too.
from logot.
Not yet, but it's on my list of things to add for v1.1.
3rd-party logging integrations have to be added as a new Capturer
integration (see loguru
as an example):
https://github.com/etianen/logot/blob/main/logot/_loguru.py
I'd happily accept a PR for this feature, and any other 3rd party integrations. Otherwise, hold tight, and it will arrive in a week or so.
from logot.
structlog
support would get pretty powerful once #25 lands too
from logot.
Related Issues (19)
- Create a `unittest.TestCase` mixin that starts log capture on every test
- Support `trio`
- Allow matching on `extra` fields passed to `logging` calls
- Allow matching on `exc_info`
- Support `loguru` log capture HOT 2
- Support `loguru`-style message matching HOT 1
- Support `tornado`
- Allow matching on record `name`
- Only import `asyncio` if actually used
- Only import `logging` if actually used
- Overload the `*` operator for `Logged` HOT 2
- Support `logbook`
- Support `anyio`
- Support `tornado`
- Support `twisted`
- `logot` only works with the default `loguru` logger? HOT 3
- Support doctest HOT 6
- Support ELLIPSIS marker HOT 2
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 logot.