Skip to main content
Version: Current

DifferentialLogger

@rotorsoft/act-root


@rotorsoft/act-root / act-tck/src / DifferentialLogger

Type Alias: DifferentialLogger

DifferentialLogger = object

Defined in: libs/act-tck/src/logger-differential-tck.ts:11

One Logger implementation to feed into runLoggerDifferentialTck. The harness drives the identical call sequence against all of them and compares the portable observable contract โ€” robustness (does a call throw?) and structural conformance (is level a non-empty string, does child() satisfy the contract).

Propertiesโ€‹

factoryโ€‹

readonly factory: () => Logger

Defined in: libs/act-tck/src/logger-differential-tck.ts:18

Produces the logger under test. Called before each test; the harness owns its lifecycle (dispose).

Returnsโ€‹

Logger


nameโ€‹

readonly name: string

Defined in: libs/act-tck/src/logger-differential-tck.ts:13

Display name used in assertion messages and the describe block.