feat: [#462] Custom Log Channel cannot take values from some functions#640
feat: [#462] Custom Log Channel cannot take values from some functions#640krishankumar01 merged 6 commits intomasterfrom
Conversation
|
Important Review skippedAuto reviews are limited to specific labels. Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.
| Benchmark suite | Current: 7581f6d | Previous: 40b9e2a | Ratio |
|---|---|---|---|
BenchmarkFile_ReadWrite |
315962 ns/op 1800 B/op 21 allocs/op |
169668 ns/op 1800 B/op 21 allocs/op |
1.86 |
BenchmarkFile_ReadWrite - ns/op |
315962 ns/op |
169668 ns/op |
1.86 |
This comment was automatically generated by workflow using github-action-benchmark.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #640 +/- ##
==========================================
+ Coverage 69.94% 70.06% +0.11%
==========================================
Files 184 184
Lines 11296 11331 +35
==========================================
+ Hits 7901 7939 +38
+ Misses 2818 2810 -8
- Partials 577 582 +5 ☔ View full report in Codecov by Sentry. |
hwbrzzl
left a comment
There was a problem hiding this comment.
The optimization is basically good, please add some test cases for them. And please move the session optimization to another PR, there is a lot of session logic in this PR, and it's unsuitable to add them here.
06f0ff0 to
46066d3
Compare
| @@ -365,10 +366,48 @@ func (h *Hook) Levels() []logrus.Level { | |||
| } | |||
|
|
|||
| func (h *Hook) Fire(entry *logrus.Entry) error { | |||
There was a problem hiding this comment.
Could you add a test case for this function?
📑 Description
Closes goravel/goravel#462
@coderabbitai summary
✅ Checks