25 lines
575 B
Markdown
25 lines
575 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [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 | <code>Partial<Logger></code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`Logger`
|
|
|