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

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