1
0
Fork 0
js-utils/docs/api/js-utils.spylogger.md

25 lines
560 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [spyLogger](./js-utils.spylogger.md)
## spyLogger() function
Create a spy logger using the provided methods, which returns itself as a child.
<b>Signature:</b>
```typescript
export declare function spyLogger(spies: Partial<Logger>): Logger;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| spies | Partial&lt;Logger&gt; | |
<b>Returns:</b>
Logger