620 B
620 B
Home > @apextoaster/js-utils > spyLogger
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
Signature:
export declare function spyLogger(spies: Partial<Logger>): Logger;
Parameters
Parameter | Type | Description |
---|---|---|
spies | Partial<Logger> |
Returns:
Logger