@kcuf/sls-logger-base 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +2 -2
  2. package/coverage/clover.xml +170 -180
  3. package/coverage/coverage-final.json +10 -10
  4. package/coverage/index.html +9 -9
  5. package/coverage/src/class/index.html +1 -1
  6. package/coverage/src/class/index.ts.html +1 -1
  7. package/coverage/src/class/sls-logger.ts.html +59 -59
  8. package/coverage/src/class/sls-pipe.ts.html +36 -36
  9. package/coverage/src/const/index.html +1 -1
  10. package/coverage/src/const/index.ts.html +1 -1
  11. package/coverage/src/factory/create-logger.ts.html +1 -1
  12. package/coverage/src/factory/generate-create-logger.ts.html +11 -17
  13. package/coverage/src/factory/index.html +5 -5
  14. package/coverage/src/index.html +1 -1
  15. package/coverage/src/index.ts.html +1 -1
  16. package/coverage/src/util/build-post-body.ts.html +14 -14
  17. package/coverage/src/util/convert-error-to-plain.ts.html +1 -1
  18. package/coverage/src/util/convert-log-info.ts.html +19 -19
  19. package/coverage/src/util/create-sls-log-quick.ts.html +1 -1
  20. package/coverage/src/util/flatten-object.ts.html +65 -50
  21. package/coverage/src/util/{flatten-should-ignore.ts.html → flatten-test-path.ts.html} +17 -59
  22. package/coverage/src/util/get-log-once-key.ts.html +6 -6
  23. package/coverage/src/util/get-silent-countdown.ts.html +1 -1
  24. package/coverage/src/util/index.html +12 -12
  25. package/coverage/src/util/index.ts.html +2 -2
  26. package/coverage/src/util/merge-default-params.ts.html +1 -1
  27. package/coverage/src/util/{merge-should-ignore.ts.html → merge-dont-send.ts.html} +8 -8
  28. package/coverage/src/util/resolve-default-params.ts.html +4 -4
  29. package/dist/cjs/class/sls-logger.js +11 -11
  30. package/dist/cjs/factory/generate-create-logger.js +4 -4
  31. package/dist/cjs/util/flatten-object.js +16 -11
  32. package/dist/cjs/util/flatten-test-path.js +11 -0
  33. package/dist/cjs/util/index.js +3 -3
  34. package/dist/cjs/util/merge-dont-send.js +14 -0
  35. package/dist/esm/class/sls-logger.js +11 -11
  36. package/dist/esm/class/sls-logger.js.map +1 -1
  37. package/dist/esm/factory/generate-create-logger.js +5 -5
  38. package/dist/esm/factory/generate-create-logger.js.map +1 -1
  39. package/dist/esm/types/common.js.map +1 -1
  40. package/dist/esm/types/options.js.map +1 -1
  41. package/dist/esm/util/flatten-object.js +16 -11
  42. package/dist/esm/util/flatten-object.js.map +1 -1
  43. package/dist/esm/util/flatten-test-path.js +6 -0
  44. package/dist/esm/util/flatten-test-path.js.map +1 -0
  45. package/dist/esm/util/index.js +1 -1
  46. package/dist/esm/util/index.js.map +1 -1
  47. package/dist/esm/util/merge-dont-send.js +9 -0
  48. package/dist/esm/util/merge-dont-send.js.map +1 -0
  49. package/dist/types/class/sls-logger.d.ts +1 -1
  50. package/dist/types/factory/generate-create-logger.d.ts +1 -1
  51. package/dist/types/types/common.d.ts +2 -12
  52. package/dist/types/types/options.d.ts +19 -12
  53. package/dist/types/util/flatten-object.d.ts +2 -2
  54. package/dist/types/util/flatten-test-path.d.ts +2 -0
  55. package/dist/types/util/index.d.ts +1 -1
  56. package/dist/types/util/merge-dont-send.d.ts +2 -0
  57. package/package.json +1 -1
  58. package/dist/cjs/util/flatten-should-ignore.js +0 -22
  59. package/dist/cjs/util/merge-should-ignore.js +0 -14
  60. package/dist/esm/util/flatten-should-ignore.js +0 -17
  61. package/dist/esm/util/flatten-should-ignore.js.map +0 -1
  62. package/dist/esm/util/merge-should-ignore.js +0 -9
  63. package/dist/esm/util/merge-should-ignore.js.map +0 -1
  64. package/dist/types/util/flatten-should-ignore.d.ts +0 -2
  65. package/dist/types/util/merge-should-ignore.d.ts +0 -2
package/README.md CHANGED
@@ -32,7 +32,7 @@ sls(options, topic);
32
32
  sls(options, topic, payload);
33
33
  ```
34
34
 
35
- 以上,`options` 可用于覆盖创建 `sls` 的时候的 `topicPrefix`、`sampling` 等工厂默认的参数,也可以立即发送日志,默认所有的日志会在一定的时间内积压,以避免和业务逻辑竞争。
35
+ 以上,`options` 可用于覆盖创建 `sls` 的时候的 `prefix`、`sampling` 等工厂默认的参数,也可以立即发送日志,默认所有的日志会在一定的时间内积压,以避免和业务逻辑竞争。
36
36
 
37
37
  ## 记录的数据
38
38
 
@@ -67,5 +67,5 @@ sls({
67
67
 
68
68
  ## 参考
69
69
 
70
- * [POST 发送日志参考文档](https://help.aliyun.com/document_detail/2771303.html)
71
70
  * [Web Tracking](https://help.aliyun.com/document_detail/31752.html)
71
+ * [POST 发送日志参考文档](https://help.aliyun.com/document_detail/2771303.html)
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1726882649549" clover="3.2.0">
3
- <project timestamp="1726882649549" name="All files">
4
- <metrics statements="339" coveredstatements="339" conditionals="115" coveredconditionals="115" methods="25" coveredmethods="25" elements="479" coveredelements="479" complexity="0" loc="339" ncloc="339" packages="5" files="19" classes="19"/>
2
+ <coverage generated="1727058157777" clover="3.2.0">
3
+ <project timestamp="1727058157777" name="All files">
4
+ <metrics statements="329" coveredstatements="329" conditionals="116" coveredconditionals="116" methods="25" coveredmethods="25" elements="470" coveredelements="470" complexity="0" loc="329" ncloc="329" packages="5" files="19" classes="19"/>
5
5
  <package name="src">
6
6
  <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
7
  <file name="index.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/index.ts">
@@ -34,71 +34,71 @@
34
34
  <line num="41" count="11" type="stmt"/>
35
35
  <line num="42" count="11" type="stmt"/>
36
36
  <line num="44" count="1" type="cond" truecount="1" falsecount="0"/>
37
- <line num="45" count="63" type="stmt"/>
38
- <line num="46" count="63" type="stmt"/>
39
- <line num="47" count="63" type="stmt"/>
40
- <line num="49" count="63" type="cond" truecount="1" falsecount="0"/>
37
+ <line num="45" count="64" type="stmt"/>
38
+ <line num="46" count="64" type="stmt"/>
39
+ <line num="47" count="64" type="stmt"/>
40
+ <line num="49" count="64" type="cond" truecount="1" falsecount="0"/>
41
41
  <line num="50" count="40" type="stmt"/>
42
- <line num="51" count="63" type="cond" truecount="1" falsecount="0"/>
43
- <line num="52" count="23" type="stmt"/>
44
- <line num="53" count="23" type="stmt"/>
45
- <line num="55" count="63" type="stmt"/>
46
- <line num="56" count="63" type="stmt"/>
47
- <line num="57" count="63" type="stmt"/>
48
- <line num="58" count="63" type="stmt"/>
49
- <line num="59" count="63" type="stmt"/>
50
- <line num="60" count="63" type="stmt"/>
51
- <line num="61" count="63" type="stmt"/>
52
- <line num="62" count="63" type="stmt"/>
53
- <line num="63" count="63" type="stmt"/>
54
- <line num="64" count="63" type="stmt"/>
55
- <line num="65" count="63" type="stmt"/>
56
- <line num="66" count="63" type="stmt"/>
57
- <line num="67" count="63" type="stmt"/>
58
- <line num="68" count="63" type="stmt"/>
59
- <line num="69" count="63" type="stmt"/>
60
- <line num="70" count="63" type="cond" truecount="2" falsecount="0"/>
61
- <line num="71" count="63" type="stmt"/>
62
- <line num="73" count="63" type="cond" truecount="1" falsecount="0"/>
42
+ <line num="51" count="64" type="cond" truecount="1" falsecount="0"/>
43
+ <line num="52" count="24" type="stmt"/>
44
+ <line num="53" count="24" type="stmt"/>
45
+ <line num="55" count="64" type="stmt"/>
46
+ <line num="56" count="64" type="stmt"/>
47
+ <line num="57" count="64" type="stmt"/>
48
+ <line num="58" count="64" type="stmt"/>
49
+ <line num="59" count="64" type="stmt"/>
50
+ <line num="60" count="64" type="stmt"/>
51
+ <line num="61" count="64" type="stmt"/>
52
+ <line num="62" count="64" type="stmt"/>
53
+ <line num="63" count="64" type="stmt"/>
54
+ <line num="64" count="64" type="stmt"/>
55
+ <line num="65" count="64" type="stmt"/>
56
+ <line num="66" count="64" type="stmt"/>
57
+ <line num="67" count="64" type="stmt"/>
58
+ <line num="68" count="64" type="stmt"/>
59
+ <line num="69" count="64" type="stmt"/>
60
+ <line num="70" count="64" type="cond" truecount="2" falsecount="0"/>
61
+ <line num="71" count="64" type="stmt"/>
62
+ <line num="73" count="64" type="cond" truecount="1" falsecount="0"/>
63
63
  <line num="74" count="8" type="stmt"/>
64
64
  <line num="75" count="8" type="cond" truecount="1" falsecount="0"/>
65
- <line num="77" count="63" type="cond" truecount="1" falsecount="0"/>
65
+ <line num="77" count="64" type="cond" truecount="1" falsecount="0"/>
66
66
  <line num="78" count="3" type="stmt"/>
67
67
  <line num="79" count="3" type="cond" truecount="1" falsecount="0"/>
68
- <line num="81" count="55" type="stmt"/>
69
- <line num="83" count="63" type="cond" truecount="1" falsecount="0"/>
70
- <line num="84" count="28" type="cond" truecount="1" falsecount="0"/>
71
- <line num="85" count="6" type="cond" truecount="2" falsecount="0"/>
72
- <line num="86" count="28" type="cond" truecount="2" falsecount="0"/>
68
+ <line num="81" count="56" type="stmt"/>
69
+ <line num="83" count="64" type="cond" truecount="1" falsecount="0"/>
70
+ <line num="84" count="29" type="cond" truecount="1" falsecount="0"/>
71
+ <line num="85" count="7" type="cond" truecount="2" falsecount="0"/>
72
+ <line num="86" count="29" type="cond" truecount="2" falsecount="0"/>
73
73
  <line num="87" count="1" type="stmt"/>
74
74
  <line num="88" count="22" type="cond" truecount="1" falsecount="0"/>
75
75
  <line num="89" count="21" type="stmt"/>
76
76
  <line num="90" count="21" type="stmt"/>
77
- <line num="91" count="28" type="cond" truecount="1" falsecount="0"/>
78
- <line num="93" count="55" type="stmt"/>
79
- <line num="94" count="55" type="stmt"/>
80
- <line num="95" count="55" type="stmt"/>
81
- <line num="96" count="55" type="stmt"/>
82
- <line num="97" count="55" type="stmt"/>
83
- <line num="98" count="55" type="stmt"/>
84
- <line num="99" count="63" type="stmt"/>
77
+ <line num="91" count="29" type="cond" truecount="1" falsecount="0"/>
78
+ <line num="93" count="56" type="stmt"/>
79
+ <line num="94" count="56" type="stmt"/>
80
+ <line num="95" count="56" type="stmt"/>
81
+ <line num="96" count="56" type="stmt"/>
82
+ <line num="97" count="56" type="stmt"/>
83
+ <line num="98" count="56" type="stmt"/>
84
+ <line num="99" count="64" type="stmt"/>
85
85
  <line num="104" count="1" type="cond" truecount="1" falsecount="0"/>
86
- <line num="105" count="63" type="stmt"/>
87
- <line num="106" count="63" type="stmt"/>
88
- <line num="107" count="63" type="stmt"/>
89
- <line num="108" count="63" type="stmt"/>
90
- <line num="109" count="63" type="stmt"/>
91
- <line num="111" count="63" type="cond" truecount="2" falsecount="0"/>
86
+ <line num="105" count="64" type="stmt"/>
87
+ <line num="106" count="64" type="stmt"/>
88
+ <line num="107" count="64" type="stmt"/>
89
+ <line num="108" count="64" type="stmt"/>
90
+ <line num="109" count="64" type="stmt"/>
91
+ <line num="111" count="64" type="cond" truecount="2" falsecount="0"/>
92
92
  <line num="112" count="4" type="stmt"/>
93
93
  <line num="113" count="4" type="cond" truecount="1" falsecount="0"/>
94
- <line num="115" count="63" type="cond" truecount="2" falsecount="0"/>
94
+ <line num="115" count="64" type="cond" truecount="2" falsecount="0"/>
95
95
  <line num="116" count="3" type="stmt"/>
96
96
  <line num="117" count="3" type="cond" truecount="1" falsecount="0"/>
97
- <line num="119" count="63" type="cond" truecount="3" falsecount="0"/>
97
+ <line num="119" count="64" type="cond" truecount="3" falsecount="0"/>
98
98
  <line num="120" count="2" type="stmt"/>
99
99
  <line num="121" count="2" type="cond" truecount="1" falsecount="0"/>
100
- <line num="123" count="54" type="stmt"/>
101
- <line num="124" count="63" type="stmt"/>
100
+ <line num="123" count="55" type="stmt"/>
101
+ <line num="124" count="64" type="stmt"/>
102
102
  <line num="125" count="1" type="stmt"/>
103
103
  </file>
104
104
  <file name="sls-pipe.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/class/sls-pipe.ts">
@@ -122,51 +122,51 @@
122
122
  <line num="36" count="2" type="stmt"/>
123
123
  <line num="37" count="11" type="stmt"/>
124
124
  <line num="42" count="1" type="cond" truecount="1" falsecount="0"/>
125
- <line num="43" count="55" type="cond" truecount="1" falsecount="0"/>
125
+ <line num="43" count="56" type="cond" truecount="1" falsecount="0"/>
126
126
  <line num="44" count="3" type="stmt"/>
127
127
  <line num="46" count="3" type="stmt"/>
128
128
  <line num="47" count="3" type="cond" truecount="1" falsecount="0"/>
129
- <line num="49" count="52" type="stmt"/>
130
- <line num="50" count="52" type="stmt"/>
131
- <line num="51" count="55" type="stmt"/>
129
+ <line num="49" count="53" type="stmt"/>
130
+ <line num="50" count="53" type="stmt"/>
131
+ <line num="51" count="56" type="stmt"/>
132
132
  <line num="53" count="1" type="cond" truecount="1" falsecount="0"/>
133
- <line num="54" count="52" type="cond" truecount="1" falsecount="0"/>
133
+ <line num="54" count="53" type="cond" truecount="1" falsecount="0"/>
134
134
  <line num="55" count="4" type="stmt"/>
135
135
  <line num="56" count="4" type="cond" truecount="1" falsecount="0"/>
136
- <line num="58" count="48" type="stmt"/>
137
- <line num="59" count="52" type="stmt"/>
136
+ <line num="58" count="49" type="stmt"/>
137
+ <line num="59" count="53" type="stmt"/>
138
138
  <line num="64" count="1" type="cond" truecount="1" falsecount="0"/>
139
- <line num="65" count="30" type="stmt"/>
140
- <line num="66" count="30" type="stmt"/>
141
- <line num="67" count="30" type="stmt"/>
142
- <line num="68" count="30" type="stmt"/>
143
- <line num="69" count="30" type="stmt"/>
144
- <line num="70" count="30" type="stmt"/>
145
- <line num="71" count="30" type="stmt"/>
146
- <line num="73" count="30" type="cond" truecount="1" falsecount="0"/>
147
- <line num="74" count="30" type="stmt"/>
148
- <line num="76" count="30" type="stmt"/>
149
- <line num="77" count="30" type="stmt"/>
150
- <line num="79" count="30" type="stmt"/>
151
- <line num="80" count="30" type="stmt"/>
152
- <line num="81" count="30" type="stmt"/>
153
- <line num="82" count="30" type="stmt"/>
154
- <line num="83" count="30" type="stmt"/>
139
+ <line num="65" count="31" type="stmt"/>
140
+ <line num="66" count="31" type="stmt"/>
141
+ <line num="67" count="31" type="stmt"/>
142
+ <line num="68" count="31" type="stmt"/>
143
+ <line num="69" count="31" type="stmt"/>
144
+ <line num="70" count="31" type="stmt"/>
145
+ <line num="71" count="31" type="stmt"/>
146
+ <line num="73" count="31" type="cond" truecount="1" falsecount="0"/>
147
+ <line num="74" count="31" type="stmt"/>
148
+ <line num="76" count="31" type="stmt"/>
149
+ <line num="77" count="31" type="stmt"/>
150
+ <line num="79" count="31" type="stmt"/>
151
+ <line num="80" count="31" type="stmt"/>
152
+ <line num="81" count="31" type="stmt"/>
153
+ <line num="82" count="31" type="stmt"/>
154
+ <line num="83" count="31" type="stmt"/>
155
155
  <line num="88" count="1" type="cond" truecount="1" falsecount="0"/>
156
- <line num="89" count="27" type="stmt"/>
157
- <line num="90" count="27" type="stmt"/>
158
- <line num="91" count="27" type="stmt"/>
159
- <line num="92" count="27" type="stmt"/>
156
+ <line num="89" count="28" type="stmt"/>
157
+ <line num="90" count="28" type="stmt"/>
158
+ <line num="91" count="28" type="stmt"/>
159
+ <line num="92" count="28" type="stmt"/>
160
160
  <line num="94" count="1" type="cond" truecount="1" falsecount="0"/>
161
- <line num="95" count="75" type="cond" truecount="1" falsecount="0"/>
162
- <line num="96" count="48" type="stmt"/>
163
- <line num="97" count="48" type="stmt"/>
164
- <line num="98" count="48" type="stmt"/>
165
- <line num="99" count="75" type="stmt"/>
161
+ <line num="95" count="77" type="cond" truecount="1" falsecount="0"/>
162
+ <line num="96" count="49" type="stmt"/>
163
+ <line num="97" count="49" type="stmt"/>
164
+ <line num="98" count="49" type="stmt"/>
165
+ <line num="99" count="77" type="stmt"/>
166
166
  <line num="101" count="1" type="cond" truecount="1" falsecount="0"/>
167
- <line num="102" count="48" type="stmt"/>
168
- <line num="103" count="48" type="cond" truecount="1" falsecount="0"/>
169
- <line num="104" count="48" type="stmt"/>
167
+ <line num="102" count="49" type="stmt"/>
168
+ <line num="103" count="49" type="cond" truecount="1" falsecount="0"/>
169
+ <line num="104" count="49" type="stmt"/>
170
170
  <line num="105" count="1" type="stmt"/>
171
171
  </file>
172
172
  </package>
@@ -182,7 +182,7 @@
182
182
  </file>
183
183
  </package>
184
184
  <package name="src.factory">
185
- <metrics statements="32" coveredstatements="32" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
185
+ <metrics statements="31" coveredstatements="31" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
186
186
  <file name="create-logger.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/factory/create-logger.ts">
187
187
  <metrics statements="14" coveredstatements="14" conditionals="1" coveredconditionals="1" methods="1" coveredmethods="1"/>
188
188
  <line num="1" count="1" type="stmt"/>
@@ -201,7 +201,7 @@
201
201
  <line num="28" count="11" type="stmt"/>
202
202
  </file>
203
203
  <file name="generate-create-logger.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/factory/generate-create-logger.ts">
204
- <metrics statements="18" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
204
+ <metrics statements="17" coveredstatements="17" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
205
205
  <line num="1" count="1" type="stmt"/>
206
206
  <line num="10" count="1" type="stmt"/>
207
207
  <line num="12" count="1" type="stmt"/>
@@ -209,8 +209,9 @@
209
209
  <line num="20" count="4" type="stmt"/>
210
210
  <line num="21" count="4" type="stmt"/>
211
211
  <line num="22" count="4" type="stmt"/>
212
- <line num="23" count="4" type="stmt"/>
213
- <line num="25" count="4" type="cond" truecount="1" falsecount="0"/>
212
+ <line num="23" count="4" type="cond" truecount="1" falsecount="0"/>
213
+ <line num="24" count="4" type="stmt"/>
214
+ <line num="25" count="4" type="stmt"/>
214
215
  <line num="26" count="4" type="stmt"/>
215
216
  <line num="27" count="4" type="stmt"/>
216
217
  <line num="28" count="4" type="stmt"/>
@@ -218,27 +219,25 @@
218
219
  <line num="30" count="4" type="stmt"/>
219
220
  <line num="31" count="4" type="stmt"/>
220
221
  <line num="32" count="4" type="stmt"/>
221
- <line num="33" count="4" type="stmt"/>
222
- <line num="34" count="4" type="stmt"/>
223
222
  </file>
224
223
  </package>
225
224
  <package name="src.util">
226
- <metrics statements="152" coveredstatements="152" conditionals="64" coveredconditionals="64" methods="13" coveredmethods="13"/>
225
+ <metrics statements="143" coveredstatements="143" conditionals="65" coveredconditionals="65" methods="13" coveredmethods="13"/>
227
226
  <file name="build-post-body.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/build-post-body.ts">
228
227
  <metrics statements="13" coveredstatements="13" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
229
228
  <line num="1" count="1" type="stmt"/>
230
229
  <line num="7" count="1" type="stmt"/>
231
230
  <line num="9" count="1" type="stmt"/>
232
- <line num="17" count="30" type="cond" truecount="1" falsecount="0"/>
233
- <line num="18" count="30" type="stmt"/>
234
- <line num="20" count="30" type="cond" truecount="1" falsecount="0"/>
235
- <line num="21" count="24" type="stmt"/>
236
- <line num="22" count="24" type="stmt"/>
237
- <line num="24" count="30" type="stmt"/>
238
- <line num="25" count="30" type="stmt"/>
239
- <line num="26" count="30" type="stmt"/>
240
- <line num="27" count="30" type="stmt"/>
241
- <line num="28" count="30" type="stmt"/>
231
+ <line num="17" count="31" type="cond" truecount="1" falsecount="0"/>
232
+ <line num="18" count="31" type="stmt"/>
233
+ <line num="20" count="31" type="cond" truecount="1" falsecount="0"/>
234
+ <line num="21" count="25" type="stmt"/>
235
+ <line num="22" count="25" type="stmt"/>
236
+ <line num="24" count="31" type="stmt"/>
237
+ <line num="25" count="31" type="stmt"/>
238
+ <line num="26" count="31" type="stmt"/>
239
+ <line num="27" count="31" type="stmt"/>
240
+ <line num="28" count="31" type="stmt"/>
242
241
  </file>
243
242
  <file name="convert-error-to-plain.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/convert-error-to-plain.ts">
244
243
  <metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
@@ -256,28 +255,28 @@
256
255
  </file>
257
256
  <file name="convert-log-info.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/convert-log-info.ts">
258
257
  <metrics statements="22" coveredstatements="22" conditionals="12" coveredconditionals="12" methods="1" coveredmethods="1"/>
259
- <line num="11" count="55" type="cond" truecount="1" falsecount="0"/>
260
- <line num="12" count="55" type="stmt"/>
261
- <line num="14" count="55" type="cond" truecount="1" falsecount="0"/>
262
- <line num="15" count="171" type="stmt"/>
263
- <line num="17" count="171" type="cond" truecount="3" falsecount="0"/>
258
+ <line num="11" count="56" type="cond" truecount="1" falsecount="0"/>
259
+ <line num="12" count="56" type="stmt"/>
260
+ <line num="14" count="56" type="cond" truecount="1" falsecount="0"/>
261
+ <line num="15" count="215" type="stmt"/>
262
+ <line num="17" count="215" type="cond" truecount="3" falsecount="0"/>
264
263
  <line num="18" count="3" type="stmt"/>
265
264
  <line num="19" count="3" type="cond" truecount="1" falsecount="0"/>
266
- <line num="21" count="171" type="cond" truecount="1" falsecount="0"/>
267
- <line num="22" count="134" type="stmt"/>
268
- <line num="23" count="171" type="cond" truecount="3" falsecount="0"/>
269
- <line num="24" count="28" type="stmt"/>
270
- <line num="25" count="34" type="cond" truecount="1" falsecount="0"/>
271
- <line num="26" count="6" type="stmt"/>
272
- <line num="27" count="6" type="stmt"/>
273
- <line num="28" count="6" type="cond" truecount="1" falsecount="0"/>
265
+ <line num="21" count="215" type="cond" truecount="1" falsecount="0"/>
266
+ <line num="22" count="144" type="stmt"/>
267
+ <line num="23" count="215" type="cond" truecount="3" falsecount="0"/>
268
+ <line num="24" count="49" type="stmt"/>
269
+ <line num="25" count="68" type="cond" truecount="1" falsecount="0"/>
270
+ <line num="26" count="19" type="stmt"/>
271
+ <line num="27" count="19" type="stmt"/>
272
+ <line num="28" count="19" type="cond" truecount="1" falsecount="0"/>
274
273
  <line num="29" count="1" type="stmt"/>
275
274
  <line num="30" count="1" type="stmt"/>
276
- <line num="31" count="6" type="stmt"/>
277
- <line num="32" count="55" type="stmt"/>
278
- <line num="41" count="55" type="stmt"/>
279
- <line num="43" count="55" type="stmt"/>
280
- <line num="44" count="55" type="stmt"/>
275
+ <line num="31" count="19" type="stmt"/>
276
+ <line num="32" count="56" type="stmt"/>
277
+ <line num="41" count="56" type="stmt"/>
278
+ <line num="43" count="56" type="stmt"/>
279
+ <line num="44" count="56" type="stmt"/>
281
280
  </file>
282
281
  <file name="create-sls-log-quick.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/create-sls-log-quick.ts">
283
282
  <metrics statements="16" coveredstatements="16" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
@@ -299,71 +298,62 @@
299
298
  <line num="25" count="66" type="stmt"/>
300
299
  </file>
301
300
  <file name="flatten-object.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/flatten-object.ts">
302
- <metrics statements="38" coveredstatements="38" conditionals="16" coveredconditionals="16" methods="3" coveredmethods="3"/>
301
+ <metrics statements="39" coveredstatements="39" conditionals="20" coveredconditionals="20" methods="3" coveredmethods="3"/>
303
302
  <line num="1" count="1" type="stmt"/>
304
303
  <line num="2" count="1" type="stmt"/>
305
304
  <line num="3" count="1" type="stmt"/>
306
305
  <line num="4" count="1" type="stmt"/>
307
306
  <line num="10" count="1" type="stmt"/>
308
307
  <line num="11" count="1" type="stmt"/>
309
- <line num="24" count="6" type="cond" truecount="1" falsecount="0"/>
310
- <line num="25" count="6" type="cond" truecount="1" falsecount="0"/>
308
+ <line num="24" count="7" type="cond" truecount="1" falsecount="0"/>
309
+ <line num="25" count="7" type="cond" truecount="1" falsecount="0"/>
311
310
  <line num="26" count="3" type="stmt"/>
312
- <line num="27" count="6" type="cond" truecount="1" falsecount="0"/>
313
- <line num="28" count="6" type="stmt"/>
314
- <line num="29" count="6" type="stmt"/>
315
- <line num="30" count="6" type="stmt"/>
316
- <line num="31" count="6" type="stmt"/>
317
- <line num="32" count="6" type="stmt"/>
318
- <line num="33" count="6" type="stmt"/>
319
- <line num="35" count="6" type="cond" truecount="1" falsecount="0"/>
320
- <line num="36" count="38" type="cond" truecount="2" falsecount="0"/>
321
- <line num="37" count="38" type="stmt"/>
322
- <line num="39" count="6" type="cond" truecount="1" falsecount="0"/>
323
- <line num="40" count="17" type="stmt"/>
324
- <line num="42" count="17" type="cond" truecount="1" falsecount="0"/>
325
- <line num="43" count="42" type="stmt"/>
326
- <line num="44" count="42" type="cond" truecount="2" falsecount="0"/>
327
- <line num="47" count="42" type="cond" truecount="1" falsecount="0"/>
328
- <line num="48" count="10" type="stmt"/>
329
- <line num="49" count="10" type="cond" truecount="1" falsecount="0"/>
330
- <line num="51" count="32" type="stmt"/>
331
- <line num="54" count="42" type="cond" truecount="3" falsecount="0"/>
332
- <line num="55" count="21" type="stmt"/>
333
- <line num="57" count="21" type="stmt"/>
334
- <line num="58" count="21" type="cond" truecount="1" falsecount="0"/>
335
- <line num="60" count="11" type="stmt"/>
336
- <line num="61" count="17" type="stmt"/>
337
- <line num="62" count="17" type="stmt"/>
338
- <line num="64" count="6" type="stmt"/>
339
- <line num="66" count="6" type="stmt"/>
340
- <line num="67" count="6" type="stmt"/>
311
+ <line num="27" count="7" type="cond" truecount="1" falsecount="0"/>
312
+ <line num="28" count="7" type="stmt"/>
313
+ <line num="29" count="7" type="stmt"/>
314
+ <line num="30" count="7" type="stmt"/>
315
+ <line num="31" count="7" type="stmt"/>
316
+ <line num="32" count="7" type="stmt"/>
317
+ <line num="33" count="7" type="stmt"/>
318
+ <line num="34" count="7" type="stmt"/>
319
+ <line num="36" count="7" type="cond" truecount="1" falsecount="0"/>
320
+ <line num="37" count="108" type="cond" truecount="2" falsecount="0"/>
321
+ <line num="38" count="108" type="stmt"/>
322
+ <line num="40" count="7" type="cond" truecount="1" falsecount="0"/>
323
+ <line num="41" count="45" type="stmt"/>
324
+ <line num="43" count="45" type="cond" truecount="1" falsecount="0"/>
325
+ <line num="44" count="112" type="stmt"/>
326
+ <line num="45" count="112" type="cond" truecount="2" falsecount="0"/>
327
+ <line num="48" count="112" type="cond" truecount="3" falsecount="0"/>
328
+ <line num="49" count="11" type="stmt"/>
329
+ <line num="50" count="11" type="cond" truecount="1" falsecount="0"/>
330
+ <line num="52" count="101" type="stmt"/>
331
+ <line num="59" count="112" type="cond" truecount="5" falsecount="0"/>
332
+ <line num="60" count="63" type="stmt"/>
333
+ <line num="62" count="63" type="stmt"/>
334
+ <line num="63" count="63" type="cond" truecount="1" falsecount="0"/>
335
+ <line num="65" count="38" type="stmt"/>
336
+ <line num="66" count="45" type="stmt"/>
337
+ <line num="67" count="45" type="stmt"/>
338
+ <line num="69" count="7" type="stmt"/>
339
+ <line num="71" count="7" type="stmt"/>
340
+ <line num="72" count="7" type="stmt"/>
341
341
  </file>
342
- <file name="flatten-should-ignore.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/flatten-should-ignore.ts">
343
- <metrics statements="15" coveredstatements="15" conditionals="9" coveredconditionals="9" methods="1" coveredmethods="1"/>
344
- <line num="5" count="42" type="cond" truecount="1" falsecount="0"/>
345
- <line num="6" count="42" type="cond" truecount="1" falsecount="0"/>
346
- <line num="7" count="2" type="stmt"/>
347
- <line num="8" count="2" type="cond" truecount="1" falsecount="0"/>
348
- <line num="10" count="42" type="cond" truecount="1" falsecount="0"/>
349
- <line num="11" count="16" type="stmt"/>
350
- <line num="12" count="16" type="cond" truecount="1" falsecount="0"/>
351
- <line num="14" count="42" type="cond" truecount="1" falsecount="0"/>
352
- <line num="15" count="7" type="stmt"/>
353
- <line num="16" count="7" type="cond" truecount="1" falsecount="0"/>
354
- <line num="18" count="42" type="cond" truecount="1" falsecount="0"/>
355
- <line num="19" count="12" type="stmt"/>
356
- <line num="20" count="12" type="cond" truecount="1" falsecount="0"/>
357
- <line num="22" count="5" type="stmt"/>
358
- <line num="23" count="5" type="stmt"/>
342
+ <file name="flatten-test-path.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/flatten-test-path.ts">
343
+ <metrics statements="5" coveredstatements="5" conditionals="6" coveredconditionals="6" methods="1" coveredmethods="1"/>
344
+ <line num="5" count="81" type="cond" truecount="1" falsecount="0"/>
345
+ <line num="6" count="81" type="cond" truecount="3" falsecount="0"/>
346
+ <line num="7" count="130" type="cond" truecount="2" falsecount="0"/>
347
+ <line num="8" count="81" type="stmt"/>
348
+ <line num="9" count="81" type="stmt"/>
359
349
  </file>
360
350
  <file name="get-log-once-key.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/get-log-once-key.ts">
361
351
  <metrics statements="9" coveredstatements="9" conditionals="5" coveredconditionals="5" methods="1" coveredmethods="1"/>
362
- <line num="1" count="63" type="cond" truecount="1" falsecount="0"/>
363
- <line num="2" count="63" type="cond" truecount="1" falsecount="0"/>
364
- <line num="3" count="56" type="stmt"/>
365
- <line num="4" count="56" type="cond" truecount="1" falsecount="0"/>
366
- <line num="6" count="63" type="cond" truecount="1" falsecount="0"/>
352
+ <line num="1" count="64" type="cond" truecount="1" falsecount="0"/>
353
+ <line num="2" count="64" type="cond" truecount="1" falsecount="0"/>
354
+ <line num="3" count="57" type="stmt"/>
355
+ <line num="4" count="57" type="cond" truecount="1" falsecount="0"/>
356
+ <line num="6" count="64" type="cond" truecount="1" falsecount="0"/>
367
357
  <line num="7" count="3" type="stmt"/>
368
358
  <line num="8" count="3" type="cond" truecount="1" falsecount="0"/>
369
359
  <line num="10" count="4" type="stmt"/>
@@ -397,7 +387,7 @@
397
387
  <line num="21" count="3" type="stmt"/>
398
388
  <line num="22" count="3" type="stmt"/>
399
389
  </file>
400
- <file name="merge-should-ignore.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/merge-should-ignore.ts">
390
+ <file name="merge-dont-send.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/merge-dont-send.ts">
401
391
  <metrics statements="6" coveredstatements="6" conditionals="5" coveredconditionals="5" methods="1" coveredmethods="1"/>
402
392
  <line num="5" count="4" type="cond" truecount="1" falsecount="0"/>
403
393
  <line num="6" count="4" type="cond" truecount="2" falsecount="0"/>
@@ -408,9 +398,9 @@
408
398
  </file>
409
399
  <file name="resolve-default-params.ts" path="/Users/newbee/zombie/kcuf/packages-fetcher/sls-logger-base/src/util/resolve-default-params.ts">
410
400
  <metrics statements="3" coveredstatements="3" conditionals="3" coveredconditionals="3" methods="1" coveredmethods="1"/>
411
- <line num="5" count="59" type="cond" truecount="1" falsecount="0"/>
412
- <line num="6" count="59" type="cond" truecount="2" falsecount="0"/>
413
- <line num="7" count="59" type="stmt"/>
401
+ <line num="5" count="60" type="cond" truecount="1" falsecount="0"/>
402
+ <line num="6" count="60" type="cond" truecount="2" falsecount="0"/>
403
+ <line num="7" count="60" type="stmt"/>
414
404
  </file>
415
405
  </package>
416
406
  </project>