Commit e509cf8
committed
refactor: optimize logging system
This commit addresses a series of fixes, refactors,
and documentation changes meant to optimize the new
logging system to be better with:
- Improved memory usage by eliminating unnecessary data
allocations and improving log record handling.
- Enhanced logging system with support for foreign
implementations (as tested with Kotlin).
- Improved documentation across board.
- Cleaner refactors and simpler code that improve
clarity.
- Streamlined logging configuration.
- Pre-existing bug fixes.1 parent 63f08b2 commit e509cf8
File tree
11 files changed
+352
-322
lines changed- bindings
- kotlin
- ldk-node-android/lib/src/androidTest/kotlin/org/lightningdevkit/ldknode
- ldk-node-jvm/lib/src/test/kotlin/org/lightningdevkit/ldknode
- src
- io
- tests
- common
11 files changed
+352
-322
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
| 8 | + | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
18 | | - | |
| 14 | + | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
Lines changed: 64 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
95 | 150 | | |
96 | 151 | | |
97 | 152 | | |
| |||
106 | 161 | | |
107 | 162 | | |
108 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
109 | 167 | | |
110 | 168 | | |
111 | 169 | | |
| |||
129 | 187 | | |
130 | 188 | | |
131 | 189 | | |
| 190 | + | |
| 191 | + | |
132 | 192 | | |
133 | 193 | | |
| 194 | + | |
134 | 195 | | |
135 | 196 | | |
136 | 197 | | |
| |||
263 | 324 | | |
264 | 325 | | |
265 | 326 | | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
266 | 330 | | |
267 | 331 | | |
268 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
43 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
60 | | - | |
61 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
| |||
593 | 597 | | |
594 | 598 | | |
595 | 599 | | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 600 | | |
609 | 601 | | |
610 | 602 | | |
| |||
0 commit comments