[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [getTestLogger](./js-utils.gettestlogger.md)
## getTestLogger() function
Get a test logger. Returns a null logger unless `verbose` is true or run under debug mode.
Signature:
```typescript
export declare function getTestLogger(verbose?: boolean): Logger;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| verbose | boolean | (Optional) |
Returns:
Logger