Function createArrayLogger
- createArrayLogger(options?): {
log: Logger;
logs: {
stderr: string[];
stdout: string[];
};
} Returns {
log: Logger;
logs: {
stderr: string[];
stdout: string[];
};
}
logs: {
stderr: string[];
stdout: string[];
}
stderr: string[]
stdout: string[]
Creates a custom logger that doesn't actually log but stores the logs into a object for later usage. This is particularly useful in tests.