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

27 lines
620 B
Markdown
Raw Normal View History

2020-03-29 13:43:52 +00:00
<!-- 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.
ensure all methods are present by extending null logger
2020-03-29 13:43:52 +00:00
<b>Signature:</b>
```typescript
export declare function spyLogger(spies: Partial<Logger>): Logger;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| spies | Partial&lt;Logger&gt; | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
Logger
2020-03-29 13:43:52 +00:00