@webiny/data-migration 5.38.5-beta.0 → 5.38.6
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/createPinoLogger.d.ts +21 -21
- package/package.json +9 -9
package/createPinoLogger.d.ts
CHANGED
|
@@ -3,11 +3,25 @@ import { Logger } from "@webiny/logger";
|
|
|
3
3
|
export declare const createPinoLogger: () => Logger<{
|
|
4
4
|
level: string;
|
|
5
5
|
redact?: string[] | import("@webiny/logger").RedactOptions | undefined;
|
|
6
|
-
transport?: import("pino").default.TransportSingleOptions<Record<string, any>> | import("pino").default.TransportMultiOptions<Record<string, any>> | import("pino").default.TransportPipelineOptions<Record<string, any>> | undefined;
|
|
7
6
|
name?: string | undefined;
|
|
8
|
-
|
|
9
|
-
[key: string]:
|
|
10
|
-
} |
|
|
7
|
+
customLevels?: {
|
|
8
|
+
[key: string]: number;
|
|
9
|
+
} | undefined;
|
|
10
|
+
useOnlyCustomLevels?: boolean | undefined;
|
|
11
|
+
levelVal?: number | undefined;
|
|
12
|
+
onChild?: (<ChildOptions extends import("pino").default.ChildLoggerOptions>(child: import("pino").default.Logger<import("pino").LoggerOptions & ChildOptions>) => void) | undefined;
|
|
13
|
+
transport?: import("pino").default.TransportSingleOptions<Record<string, any>> | import("pino").default.TransportMultiOptions<Record<string, any>> | import("pino").default.TransportPipelineOptions<Record<string, any>> | undefined;
|
|
14
|
+
safe?: boolean | undefined;
|
|
15
|
+
serializers?: {
|
|
16
|
+
[key: string]: import("pino").default.SerializerFn;
|
|
17
|
+
} | undefined;
|
|
18
|
+
timestamp?: boolean | (() => string) | undefined;
|
|
19
|
+
mixin?: ((mergeObject: object, level: number) => object) | undefined;
|
|
20
|
+
mixinMergeStrategy?: ((mergeObject: object, mixinObject: object) => object) | undefined;
|
|
21
|
+
messageKey?: string | undefined;
|
|
22
|
+
errorKey?: string | undefined;
|
|
23
|
+
nestedKey?: string | undefined;
|
|
24
|
+
enabled?: boolean | undefined;
|
|
11
25
|
browser?: {
|
|
12
26
|
asObject?: boolean | undefined;
|
|
13
27
|
write?: import("pino").default.WriteFn | ({
|
|
@@ -26,23 +40,9 @@ export declare const createPinoLogger: () => Logger<{
|
|
|
26
40
|
send: (level: import("pino").default.Level, logEvent: import("pino").default.LogEvent) => void;
|
|
27
41
|
} | undefined;
|
|
28
42
|
} | undefined;
|
|
29
|
-
|
|
30
|
-
[key: string]:
|
|
31
|
-
} | undefined;
|
|
32
|
-
useOnlyCustomLevels?: boolean | undefined;
|
|
33
|
-
levelVal?: number | undefined;
|
|
34
|
-
onChild?: (<ChildOptions extends import("pino").default.ChildLoggerOptions>(child: import("pino").default.Logger<import("pino").LoggerOptions & ChildOptions>) => void) | undefined;
|
|
35
|
-
safe?: boolean | undefined;
|
|
36
|
-
serializers?: {
|
|
37
|
-
[key: string]: import("pino").default.SerializerFn;
|
|
38
|
-
} | undefined;
|
|
39
|
-
timestamp?: boolean | (() => string) | undefined;
|
|
40
|
-
mixin?: ((mergeObject: object, level: number) => object) | undefined;
|
|
41
|
-
mixinMergeStrategy?: ((mergeObject: object, mixinObject: object) => object) | undefined;
|
|
42
|
-
messageKey?: string | undefined;
|
|
43
|
-
errorKey?: string | undefined;
|
|
44
|
-
nestedKey?: string | undefined;
|
|
45
|
-
enabled?: boolean | undefined;
|
|
43
|
+
base?: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
} | null | undefined;
|
|
46
46
|
formatters?: {
|
|
47
47
|
level?: ((label: string, number: number) => object) | undefined;
|
|
48
48
|
bindings?: ((bindings: import("pino").default.Bindings) => object) | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/data-migration",
|
|
3
|
-
"version": "5.38.
|
|
3
|
+
"version": "5.38.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "types.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"@babel/runtime": "7.22.6",
|
|
15
15
|
"@elastic/elasticsearch": "7.12.0",
|
|
16
16
|
"@types/pino": "7.0.5",
|
|
17
|
-
"@webiny/db-dynamodb": "5.38.
|
|
18
|
-
"@webiny/handler-aws": "5.38.
|
|
19
|
-
"@webiny/ioc": "5.38.
|
|
20
|
-
"@webiny/logger": "5.38.
|
|
21
|
-
"@webiny/utils": "5.38.
|
|
17
|
+
"@webiny/db-dynamodb": "5.38.6",
|
|
18
|
+
"@webiny/handler-aws": "5.38.6",
|
|
19
|
+
"@webiny/ioc": "5.38.6",
|
|
20
|
+
"@webiny/logger": "5.38.6",
|
|
21
|
+
"@webiny/utils": "5.38.6",
|
|
22
22
|
"center-align": "1.0.1",
|
|
23
23
|
"chalk": "4.1.2",
|
|
24
24
|
"dynamodb-toolbox": "0.3.5",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@babel/preset-env": "7.22.7",
|
|
33
33
|
"@types/center-align": "1.0.0",
|
|
34
34
|
"@types/semver": "7.3.13",
|
|
35
|
-
"@webiny/cli": "5.38.
|
|
36
|
-
"@webiny/project-utils": "5.38.
|
|
35
|
+
"@webiny/cli": "5.38.6",
|
|
36
|
+
"@webiny/project-utils": "5.38.6",
|
|
37
37
|
"jest": "29.5.0",
|
|
38
38
|
"jest-dynalite": "3.6.1",
|
|
39
39
|
"jest-mock-console": "1.3.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "65d8c4beef7ebcd3115c97eb1e23d93e8e357d55"
|
|
59
59
|
}
|