@vvlad1973/simple-logger 2.0.1 → 2.1.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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/types/simple-logger.types.ts +7 -1
- package/jsdoc.json +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.0](https://github.com/vvlad1973/vvlad1973-simple-logger/compare/v2.0.2...v2.1.0)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- **feat**(LoggerOptions interface): LoggerOptions interface has been improved (2025-05-04) [`4b3e8df640947af243058ca6a75939708dfba015`](https://github.com/vvlad1973/vvlad1973-simple-logger/commit/4b3e8df640947af243058ca6a75939708dfba015)
|
|
8
|
+
|
|
9
|
+
## [2.0.2](https://github.com/vvlad1973/vvlad1973-simple-logger/compare/v2.0.1...v2.0.2)
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
|
|
13
|
+
- **fix**: Fixed exports of types (2025-05-04) [`b30a2a592dd11af6df352403f48e8b63144ef4af`](https://github.com/vvlad1973/vvlad1973-simple-logger/commit/b30a2a592dd11af6df352403f48e8b63144ef4af)
|
|
14
|
+
|
|
3
15
|
## [2.0.1](https://github.com/vvlad1973/vvlad1973-simple-logger/compare/v2.0.0...v2.0.1)
|
|
4
16
|
|
|
5
17
|
### Documentation
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface ExternalLogger {
|
|
|
16
16
|
error?: LogFn;
|
|
17
17
|
fatal?: LogFn;
|
|
18
18
|
silent?: LogFn;
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
level?: string;
|
|
21
21
|
|
|
22
22
|
child?(bindings: Record<string, unknown>): ExternalLogger;
|
|
@@ -31,6 +31,12 @@ export interface LoggerOptions {
|
|
|
31
31
|
bindings?: Record<string, unknown>;
|
|
32
32
|
msgPrefix?: string;
|
|
33
33
|
transport?: unknown;
|
|
34
|
+
transports?: {
|
|
35
|
+
targets: Array<{
|
|
36
|
+
tag?: string;
|
|
37
|
+
[key: string]: unknown;
|
|
38
|
+
}>;
|
|
39
|
+
};
|
|
34
40
|
[key: string]: unknown;
|
|
35
41
|
}
|
|
36
42
|
|
package/jsdoc.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source": {
|
|
3
|
-
"include": ["./src/"],
|
|
4
|
-
"includePattern": "\\.(ts)$",
|
|
5
|
-
"excludePattern": "(^|\\/|\\\\)node_modules"
|
|
6
|
-
},
|
|
7
|
-
"plugins": ["node_modules/better-docs/typescript"],
|
|
8
|
-
"opts": {
|
|
9
|
-
"destination": "./docs",
|
|
10
|
-
"recurse": true,
|
|
11
|
-
"template": "node_modules/better-docs"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|