Conversation
gauntl3t12
left a comment
There was a problem hiding this comment.
Looks great! Lets try and get some more tests in there and the documentation
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #362 +/- ##
==========================================
- Coverage 63.39% 62.35% -1.05%
==========================================
Files 24 25 +1
Lines 1557 1591 +34
==========================================
+ Hits 987 992 +5
- Misses 570 599 +29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
207d3be to
230f2ea
Compare
|
Hi, sorry for the delay, I'm still keen to get this merged. I have rebased this PR and squashed the commits. If more documentation is needed I can get that in ASAP as well. |
|
I'll take a look at this soon. I'll do my best to get a hold of the project owner and work through our recent batches of PRs |
|
What's the status of this PR? |
|
@sdroege I am targeting next week to start working with the owner of the repo. Appreciate everyone's hard work on the recent batch of MRs and can't wait to get things moving again! |
|
That sounds great, thanks! |
estk
left a comment
There was a problem hiding this comment.
I left a couple of comments, but looking really good.
One more general question, did you attempt to wrap log::kv::Source in a newtype and impl serde::Serialize on it?
Just wondering because I was thinking about the tradeoffs of allocating a whole BTree vs the annoyance of adding lifetimes to Message.
…encoding. Factor pattern parsing code between MDC and key_value targets
|
Thanks for the review @estk, I have followed your suggestion and investigated directly playing around with Serde traits. |
|
blocked on #367 |
|
Hi! What is the current status of the MR? |
@SL-RU we're still waiting on the blocked PR |
|
Hi! What is the current status of the MR? |
|
Hey! Sorry but all PRs are blocked by the PR fixing the deprecated API. I've been too busy of late to bug @estk and get it moving again. Please feel free to take a look at that PR and suggest options you might see in helping bring it to closure. |
|
Hi, what is current status? What blocks this PR now? |
|
It seems repo was abandoned. Isn't it? |
Thank you for the reply, do you know some project with same functionality? |
|
Unfortunately no I do not. I know the author moved to trace4rs with his employer. However, that project also appears to have died. |
|
Bryan had agreed to send me an email when he saw PRs as ready. My last email from him was Feb last year. i am adding this review to my queue. |
|
@ellttBen can you please rebase? |
Hi there,
As discussed in #329, this PR implements support for the
log::kvstructured logging API.These are some user-facing choices I have made:
log_kvfeaturejsonandpattern:jsonmessage has anattributesfield which is a serialized map of the record's structured logspatternencoder has a newKorkey_valueformatter which functions exactly like themdcformatter.If this sounds okay, I can also edit the documentation.