Skip to content

Commit

Permalink
Add test cases for new features and go back to 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
terehov committed Jun 19, 2020
1 parent 701c6aa commit 0cbab22
Show file tree
Hide file tree
Showing 21 changed files with 325 additions and 243 deletions.
26 changes: 13 additions & 13 deletions docs/tsdoc/classes/logger.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L73">index.ts:73</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L73">index.ts:73</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -160,7 +160,7 @@ <h3>settings</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L153">index.ts:153</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L153">index.ts:153</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -185,7 +185,7 @@ <h3>attach<wbr>Transport</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L236">index.ts:236</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L236">index.ts:236</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -222,7 +222,7 @@ <h3>debug</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L266">index.ts:266</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L266">index.ts:266</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -253,7 +253,7 @@ <h3>error</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L290">index.ts:290</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L290">index.ts:290</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -284,7 +284,7 @@ <h3>fatal</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L298">index.ts:298</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L298">index.ts:298</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -315,7 +315,7 @@ <h3>get<wbr>Child<wbr>Logger</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L221">index.ts:221</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L221">index.ts:221</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -338,7 +338,7 @@ <h3>info</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L274">index.ts:274</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L274">index.ts:274</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -369,7 +369,7 @@ <h3>pretty<wbr>Error</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L312">index.ts:312</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L312">index.ts:312</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -436,7 +436,7 @@ <h3>set<wbr>Settings</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L163">index.ts:163</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L163">index.ts:163</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -462,7 +462,7 @@ <h3>silly</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L250">index.ts:250</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L250">index.ts:250</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -493,7 +493,7 @@ <h3>trace</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L258">index.ts:258</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L258">index.ts:258</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -524,7 +524,7 @@ <h3>warn</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/index.ts#L282">index.ts:282</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/index.ts#L282">index.ts:282</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
16 changes: 8 additions & 8 deletions docs/tsdoc/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>TLog<wbr>Level<wbr>Color</h3>
<div class="tsd-signature tsd-kind-icon">TLog<wbr>Level<wbr>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L34">interfaces.ts:34</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L34">interfaces.ts:34</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -137,7 +137,7 @@ <h3>TLog<wbr>Level<wbr>Id</h3>
<div class="tsd-signature tsd-kind-icon">TLog<wbr>Level<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">keyof </span><a href="interfaces/iloglevel.html" class="tsd-signature-type">ILogLevel</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L22">interfaces.ts:22</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L22">interfaces.ts:22</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -152,7 +152,7 @@ <h3>TLog<wbr>Level<wbr>Name</h3>
<div class="tsd-signature tsd-kind-icon">TLog<wbr>Level<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ILogLevel</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TLogLevelId</span><span class="tsd-signature-symbol">]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L28">interfaces.ts:28</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L28">interfaces.ts:28</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -167,7 +167,7 @@ <h3>TRequest<wbr>IdFunction</h3>
<div class="tsd-signature tsd-kind-icon">TRequest<wbr>IdFunction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L38">interfaces.ts:38</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L38">interfaces.ts:38</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -192,7 +192,7 @@ <h3>TTransport<wbr>Logger</h3>
<div class="tsd-signature tsd-kind-icon">TTransport<wbr>Logger&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L281">interfaces.ts:281</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L281">interfaces.ts:281</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -218,7 +218,7 @@ <h3>TUtils<wbr>Inspect<wbr>Colors</h3>
<div class="tsd-signature tsd-kind-icon">TUtils<wbr>Inspect<wbr>Colors<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"reset"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bold"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"dim"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"italic"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"underline"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"blink"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"inverse"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"hidden"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"strikethrough"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"doubleunderline"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"black"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"red"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"green"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"yellow"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"blue"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"magenta"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cyan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"white"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgBlack"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgRed"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgGreen"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgYellow"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgBlue"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgMagenta"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgCyan"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgWhite"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"framed"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"overlined"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"gray"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"grey"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"redBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"greenBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"yellowBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"blueBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"magentaBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"cyanBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"whiteBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgGray"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgRedBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgGreenBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgYellowBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgBlueBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgMagentaBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgCyanBright"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"bgWhiteBright"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L294">interfaces.ts:294</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L294">interfaces.ts:294</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -233,7 +233,7 @@ <h3>With<wbr>Millisecond</h3>
<div class="tsd-signature tsd-kind-icon">With<wbr>Millisecond&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">"millisecond"</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L374">interfaces.ts:374</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L374">interfaces.ts:374</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -252,7 +252,7 @@ <h3>Date<wbr>Time<wbr>Format<wbr>Part<wbr>Types</h3>
<div class="tsd-signature tsd-kind-icon">Date<wbr>Time<wbr>Format<wbr>Part<wbr>Types<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L2">interfaces.ts:2</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L2">interfaces.ts:2</a></li>
</ul>
</aside>
</section>
Expand Down
12 changes: 6 additions & 6 deletions docs/tsdoc/interfaces/icodeframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h3>column<wbr>Number</h3>
<div class="tsd-signature tsd-kind-icon">column<wbr>Number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L368">interfaces.ts:368</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L368">interfaces.ts:368</a></li>
</ul>
</aside>
</section>
Expand All @@ -113,7 +113,7 @@ <h3>first<wbr>Line<wbr>Number</h3>
<div class="tsd-signature tsd-kind-icon">first<wbr>Line<wbr>Number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L366">interfaces.ts:366</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L366">interfaces.ts:366</a></li>
</ul>
</aside>
</section>
Expand All @@ -123,7 +123,7 @@ <h3>line<wbr>Number</h3>
<div class="tsd-signature tsd-kind-icon">line<wbr>Number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L367">interfaces.ts:367</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L367">interfaces.ts:367</a></li>
</ul>
</aside>
</section>
Expand All @@ -133,7 +133,7 @@ <h3>lines<wbr>After</h3>
<div class="tsd-signature tsd-kind-icon">lines<wbr>After<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L371">interfaces.ts:371</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L371">interfaces.ts:371</a></li>
</ul>
</aside>
</section>
Expand All @@ -143,7 +143,7 @@ <h3>lines<wbr>Before</h3>
<div class="tsd-signature tsd-kind-icon">lines<wbr>Before<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L369">interfaces.ts:369</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L369">interfaces.ts:369</a></li>
</ul>
</aside>
</section>
Expand All @@ -153,7 +153,7 @@ <h3>relevant<wbr>Line</h3>
<div class="tsd-signature tsd-kind-icon">relevant<wbr>Line<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/9985ebf/src/interfaces.ts#L370">interfaces.ts:370</a></li>
<li>Defined in <a href="https://github.com/fullstack-build/tslog/blob/701c6aa/src/interfaces.ts#L370">interfaces.ts:370</a></li>
</ul>
</aside>
</section>
Expand Down
Loading

0 comments on commit 0cbab22

Please sign in to comment.