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.
Optional
import {createArrayLogger} from '@augment-vir/common';const {log, logs} = createArrayLogger();log.info('hi');// `logs[LogOutputType.Standard]` is now `['hi']` Copy
import {createArrayLogger} from '@augment-vir/common';const {log, logs} = createArrayLogger();log.info('hi');// `logs[LogOutputType.Standard]` is now `['hi']`
@augment-vir/common
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.