We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c911e22 commit d853070Copy full SHA for d853070
src/main/java/io/github/numichi/reactive/logger/ICore.kt
@@ -35,9 +35,9 @@ interface ICore {
35
return MDCSnapshot.of(result)
36
}
37
38
- fun <T> logConsumer(fn: BiConsumer<Logger, Signal<T>>): Consumer<Signal<T>> {
+ fun <T> logConsumer(consumer: BiConsumer<Logger, Signal<T>>): Consumer<Signal<T>> {
39
return Consumer { signal ->
40
- takeMDCSnapshot(signal.contextView).use { fn.accept(slf4jLogger, signal) }
+ takeMDCSnapshot(signal.contextView).use { consumer.accept(slf4jLogger, signal) }
41
42
43
0 commit comments