@thi.ng/rstream-log 5.1.31 → 5.1.32
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 +7 -1
- package/README.md +1 -1
- package/logger.d.ts +1 -1
- package/logger.js +2 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-08-
|
|
3
|
+
- **Last updated**: 2024-08-20T11:41:56Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [5.1.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-log@5.1.32) (2024-08-20)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update internal close mode handling (33b1d16f34) ([700e566](https://github.com/thi-ng/umbrella/commit/700e566))
|
|
17
|
+
|
|
12
18
|
## [5.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-log@5.1.0) (2024-02-28)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
package/logger.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ALogger } from "@thi.ng/logger/alogger";
|
|
2
2
|
import { LogLevel, type ILogger, type LogEntry, type LogLevelName } from "@thi.ng/logger/api";
|
|
3
|
-
import {
|
|
3
|
+
import type { ISubscriber } from "@thi.ng/rstream";
|
|
4
4
|
import { Stream } from "@thi.ng/rstream/stream";
|
|
5
5
|
export declare class Logger extends ALogger implements ISubscriber<LogEntry> {
|
|
6
6
|
stream: Stream<LogEntry>;
|
package/logger.js
CHANGED
|
@@ -2,16 +2,15 @@ import { ALogger } from "@thi.ng/logger/alogger";
|
|
|
2
2
|
import {
|
|
3
3
|
LogLevel
|
|
4
4
|
} from "@thi.ng/logger/api";
|
|
5
|
-
import { CloseMode } from "@thi.ng/rstream/api";
|
|
6
|
-
import { Stream } from "@thi.ng/rstream/stream";
|
|
7
5
|
import { __nextID } from "@thi.ng/rstream/idgen";
|
|
6
|
+
import { Stream } from "@thi.ng/rstream/stream";
|
|
8
7
|
class Logger extends ALogger {
|
|
9
8
|
stream;
|
|
10
9
|
constructor(id, level, parent) {
|
|
11
10
|
super(id || `logger-${__nextID()}`, level, parent);
|
|
12
11
|
this.stream = new Stream({
|
|
13
12
|
id: this.id,
|
|
14
|
-
closeOut:
|
|
13
|
+
closeOut: "never"
|
|
15
14
|
});
|
|
16
15
|
}
|
|
17
16
|
next(x) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-log",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.32",
|
|
4
4
|
"description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@thi.ng/api": "^8.11.9",
|
|
40
40
|
"@thi.ng/checks": "^3.6.11",
|
|
41
41
|
"@thi.ng/logger": "^3.0.19",
|
|
42
|
-
"@thi.ng/rstream": "^
|
|
42
|
+
"@thi.ng/rstream": "^9.0.0",
|
|
43
43
|
"@thi.ng/strings": "^3.8.4",
|
|
44
44
|
"@thi.ng/transducers": "^9.2.0"
|
|
45
45
|
},
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
],
|
|
99
99
|
"year": 2017
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "bb5006182c335294b5c53abf39663d42445c4880\n"
|
|
102
102
|
}
|