@ddd-ts-kit/pino 0.83.3 → 0.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.fr.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [English](README.md) · **Français**
2
- <!-- translation-of: README.md sha256:5f35d698f41007ec -->
2
+ <!-- translation-of: README.md sha256:e4ef16161db84adc -->
3
3
 
4
4
  # @ddd-ts-kit/pino
5
5
 
@@ -51,7 +51,7 @@ export function createLogger(scope: ExecutionScope, settings: LogSettings): Pino
51
51
 
52
52
  ```ts
53
53
  // main.ts
54
- import { tracing } from '@/platform/tracing'; // en premier
54
+ import { tracing } from '@/platform/observability/tracing'; // en premier
55
55
  import { createLogger } from '@/platform/observability/create-logger';
56
56
  import { AsyncLocalStorageExecutionScope } from '@ddd-ts-kit/kernel';
57
57
  import { createApplication, kernelModule } from '@ddd-ts-kit/di';
@@ -73,7 +73,7 @@ async function shutdown(): Promise<void> {
73
73
 
74
74
  `init --logger pino` écrit ce `create-logger.ts` (il renvoie un `NoopLogger` quand il ne reçoit
75
75
  aucun réglage : c'est ainsi que les outils et les tests restent silencieux) ;
76
- `platform/lay-foundations.ts` l'appelle une fois et `composeApplication` passe le *logger* à
76
+ `platform/composition/lay-foundations.ts` l'appelle une fois et `composeApplication` passe le *logger* à
77
77
  `kernelModule({ logger })`.
78
78
 
79
79
  Une ligne de l'application, telle qu'elle est écrite :
package/README.md CHANGED
@@ -48,7 +48,7 @@ export function createLogger(scope: ExecutionScope, settings: LogSettings): Pino
48
48
 
49
49
  ```ts
50
50
  // main.ts
51
- import { tracing } from '@/platform/tracing'; // first
51
+ import { tracing } from '@/platform/observability/tracing'; // first
52
52
  import { createLogger } from '@/platform/observability/create-logger';
53
53
  import { AsyncLocalStorageExecutionScope } from '@ddd-ts-kit/kernel';
54
54
  import { createApplication, kernelModule } from '@ddd-ts-kit/di';
@@ -69,7 +69,7 @@ async function shutdown(): Promise<void> {
69
69
  ```
70
70
 
71
71
  `init --logger pino` writes this `create-logger.ts` (it answers a `NoopLogger` when given no
72
- settings, which is how the tools and the tests stay silent); `platform/lay-foundations.ts`
72
+ settings, which is how the tools and the tests stay silent); `platform/composition/lay-foundations.ts`
73
73
  calls it once and `composeApplication` hands the logger to `kernelModule({ logger })`.
74
74
 
75
75
  One line of the application, as it is written:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/pino",
3
- "version": "0.83.3",
3
+ "version": "0.84.0",
4
4
  "description": "Adapter of the kernel Logger port on pino, with trace and execution correlation on every line.",
5
5
  "keywords": [
6
6
  "ddd",
@@ -37,10 +37,10 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@ddd-ts-kit/kernel": "0.83.3"
40
+ "@ddd-ts-kit/kernel": "0.84.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@ddd-ts-kit/testing": "0.83.3",
43
+ "@ddd-ts-kit/testing": "0.84.0",
44
44
  "pino": "^10.4.0",
45
45
  "pino-pretty": "^13.2.0"
46
46
  },