Commit fa48d8a
committed
SLF4J-256: Allow use of lambda to construct build event
- Rename current LoggingEventBuilder to FluentApiStub to better describe its responsibility
- New interface of LoggingEventBuilder to act only as Fluent Builder of LoggingEvent, which is
used by the lambda1 parent bef8028 commit fa48d8a
File tree
8 files changed
+201
-57
lines changed- slf4j-api/src
- main/java/org/slf4j
- helpers
- spi
- test/java/org/slf4j/basicTests
- slf4j-jdk-platform-logging/src/main/java/org/slf4j/jdk/platform/logging
8 files changed
+201
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
99 | | - | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | | - | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
116 | 124 | | |
117 | | - | |
118 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | | - | |
122 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
123 | 139 | | |
124 | 140 | | |
125 | 141 | | |
| |||
233 | 249 | | |
234 | 250 | | |
235 | 251 | | |
236 | | - | |
| 252 | + | |
237 | 253 | | |
238 | 254 | | |
239 | | - | |
| 255 | + | |
240 | 256 | | |
241 | 257 | | |
242 | 258 | | |
243 | 259 | | |
244 | 260 | | |
245 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
246 | 265 | | |
247 | 266 | | |
248 | 267 | | |
| |||
429 | 448 | | |
430 | 449 | | |
431 | 450 | | |
432 | | - | |
| 451 | + | |
433 | 452 | | |
434 | 453 | | |
435 | | - | |
| 454 | + | |
436 | 455 | | |
437 | 456 | | |
438 | 457 | | |
439 | 458 | | |
440 | 459 | | |
441 | 460 | | |
442 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
443 | 466 | | |
444 | 467 | | |
445 | 468 | | |
| |||
568 | 591 | | |
569 | 592 | | |
570 | 593 | | |
571 | | - | |
| 594 | + | |
572 | 595 | | |
573 | 596 | | |
574 | | - | |
| 597 | + | |
575 | 598 | | |
576 | 599 | | |
577 | 600 | | |
578 | 601 | | |
579 | 602 | | |
580 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
581 | 607 | | |
582 | 608 | | |
583 | 609 | | |
| |||
708 | 734 | | |
709 | 735 | | |
710 | 736 | | |
711 | | - | |
| 737 | + | |
712 | 738 | | |
713 | 739 | | |
714 | | - | |
| 740 | + | |
715 | 741 | | |
716 | 742 | | |
717 | 743 | | |
718 | 744 | | |
719 | 745 | | |
720 | 746 | | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
721 | 750 | | |
722 | 751 | | |
723 | 752 | | |
| |||
849 | 878 | | |
850 | 879 | | |
851 | 880 | | |
852 | | - | |
| 881 | + | |
853 | 882 | | |
854 | 883 | | |
855 | | - | |
| 884 | + | |
856 | 885 | | |
857 | 886 | | |
858 | 887 | | |
859 | 888 | | |
860 | 889 | | |
861 | 890 | | |
862 | 891 | | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
863 | 898 | | |
Lines changed: 44 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | | - | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
81 | 89 | | |
82 | 90 | | |
83 | 91 | | |
| |||
142 | 150 | | |
143 | 151 | | |
144 | 152 | | |
145 | | - | |
| 153 | + | |
146 | 154 | | |
147 | 155 | | |
148 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
149 | 162 | | |
150 | 163 | | |
151 | 164 | | |
| |||
207 | 220 | | |
208 | 221 | | |
209 | 222 | | |
210 | | - | |
| 223 | + | |
211 | 224 | | |
212 | 225 | | |
213 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
214 | 232 | | |
215 | 233 | | |
216 | 234 | | |
| |||
273 | 291 | | |
274 | 292 | | |
275 | 293 | | |
276 | | - | |
| 294 | + | |
277 | 295 | | |
278 | 296 | | |
279 | 297 | | |
280 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
281 | 303 | | |
282 | 304 | | |
283 | 305 | | |
| |||
338 | 360 | | |
339 | 361 | | |
340 | 362 | | |
341 | | - | |
| 363 | + | |
342 | 364 | | |
343 | 365 | | |
344 | 366 | | |
345 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
346 | 372 | | |
347 | 373 | | |
348 | 374 | | |
| |||
405 | 431 | | |
406 | 432 | | |
407 | 433 | | |
408 | | - | |
| 434 | + | |
409 | 435 | | |
410 | 436 | | |
411 | | - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
412 | 443 | | |
413 | 444 | | |
414 | 445 | | |
| |||
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
36 | | - | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
42 | | - | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
48 | | - | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
95 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
| |||
183 | 193 | | |
184 | 194 | | |
185 | 195 | | |
186 | | - | |
| 196 | + | |
187 | 197 | | |
188 | 198 | | |
189 | 199 | | |
190 | 200 | | |
191 | 201 | | |
192 | | - | |
| 202 | + | |
193 | 203 | | |
194 | 204 | | |
195 | 205 | | |
| |||
0 commit comments