Skip to content

fromNestLogger — @gj-kit/nest-operations-jobs

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

import { fromNestLogger } from '@gj-kit/nest-operations-jobs';
/**
* Adapts Nest's `LoggerService` (message-first) to the `JobLogger` port
* (fields-first). The structured fields are passed through as an extra
* parameter, which Nest's own console logger prints alongside the message.
*/
declare function fromNestLogger(logger: LoggerService, context?: string): JobLogger;

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-operations-jobs
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub