Skip to content

recordingNotificationLogger — @gj-kit/nest-notifications

A public function from @gj-kit/nest-notifications/testing. The signature below is taken directly from the 0.1.1 release declaration.

import { recordingNotificationLogger } from '@gj-kit/nest-notifications/testing';
/**
* Captures every call. Tests assert on it to prove a secret never reaches the
* log: the pipeline logs a redacted `safeErrorCode`, never an exception message.
*/
declare function recordingNotificationLogger(): RecordingNotificationLogger;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-notifications
  • Version: 0.1.1
  • Public entry: ./testing
  • Source: GitHub