[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. Signature: ```typescript export declare function spyLogger(spies: Partial): Logger; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | spies | Partial<Logger> | | Returns: `Logger`