@thi.ng/rstream-log 4.1.15 → 4.1.18
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 +8 -1
- package/api.d.ts +3 -0
- package/filter.d.ts +1 -2
- package/format.d.ts +2 -1
- package/logger.d.ts +2 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-08-
|
|
3
|
+
- **Last updated**: 2022-08-04T21:21:08Z
|
|
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,13 @@ 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
|
+
### [4.1.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-log@4.1.16) (2022-08-04)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- deprecate LogEntry ([ef46381](https://github.com/thi-ng/umbrella/commit/ef46381))
|
|
17
|
+
- use migrated type from [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/main/packages/logger) pkg
|
|
18
|
+
|
|
12
19
|
## [4.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-log@4.1.0) (2021-11-17)
|
|
13
20
|
|
|
14
21
|
#### 🚀 Features
|
package/api.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { IID } from "@thi.ng/api";
|
|
2
2
|
import type { ILogger as APILogger, LogLevel } from "@thi.ng/logger";
|
|
3
3
|
import type { ISubscribable } from "@thi.ng/rstream";
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated moved to thi.ng/logger package
|
|
6
|
+
*/
|
|
4
7
|
export interface LogEntry extends Array<any> {
|
|
5
8
|
[0]: LogLevel;
|
|
6
9
|
[1]: string;
|
package/filter.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { LogLevel } from "@thi.ng/logger";
|
|
1
|
+
import type { LogEntry, LogLevel } from "@thi.ng/logger";
|
|
2
2
|
import type { Transducer } from "@thi.ng/transducers";
|
|
3
|
-
import type { LogEntry } from "./api.js";
|
|
4
3
|
export declare const onlyLevel: (level: LogLevel) => Transducer<LogEntry, LogEntry>;
|
|
5
4
|
export declare const minLevel: (level: LogLevel) => Transducer<LogEntry, LogEntry>;
|
|
6
5
|
export declare const maxLevel: (level: LogLevel) => Transducer<LogEntry, LogEntry>;
|
package/format.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { LogEntry } from "@thi.ng/logger/api";
|
|
1
2
|
import type { Transducer } from "@thi.ng/transducers";
|
|
2
|
-
import type { BodyFormat, DateFormat,
|
|
3
|
+
import type { BodyFormat, DateFormat, LogEntryObj } from "./api.js";
|
|
3
4
|
export declare const isoDate: (dt: number) => string;
|
|
4
5
|
export declare const formatString: (dtFmt?: DateFormat, bodyFmt?: BodyFormat) => Transducer<LogEntry, string>;
|
|
5
6
|
/**
|
package/logger.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LogLevel } from "@thi.ng/logger/api";
|
|
1
|
+
import { LogEntry, LogLevel } from "@thi.ng/logger/api";
|
|
2
2
|
import { ISubscribable } from "@thi.ng/rstream/api";
|
|
3
3
|
import { StreamMerge } from "@thi.ng/rstream/merge";
|
|
4
|
-
import type { ILogger
|
|
4
|
+
import type { ILogger } from "./api.js";
|
|
5
5
|
export declare class Logger extends StreamMerge<LogEntry, LogEntry> implements ILogger {
|
|
6
6
|
level: LogLevel;
|
|
7
7
|
constructor();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-log",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.18",
|
|
4
4
|
"description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@thi.ng/api": "^8.3.9",
|
|
38
|
-
"@thi.ng/checks": "^3.2.
|
|
39
|
-
"@thi.ng/errors": "^2.1.
|
|
40
|
-
"@thi.ng/logger": "^1.
|
|
41
|
-
"@thi.ng/rstream": "^7.2.
|
|
42
|
-
"@thi.ng/strings": "^3.3.
|
|
43
|
-
"@thi.ng/transducers": "^8.3.
|
|
38
|
+
"@thi.ng/checks": "^3.2.4",
|
|
39
|
+
"@thi.ng/errors": "^2.1.10",
|
|
40
|
+
"@thi.ng/logger": "^1.2.0",
|
|
41
|
+
"@thi.ng/rstream": "^7.2.15",
|
|
42
|
+
"@thi.ng/strings": "^3.3.9",
|
|
43
|
+
"@thi.ng/transducers": "^8.3.11"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.25.0",
|
|
47
|
-
"@thi.ng/testament": "^0.2.
|
|
47
|
+
"@thi.ng/testament": "^0.2.11",
|
|
48
48
|
"rimraf": "^3.0.2",
|
|
49
49
|
"tools": "^0.0.1",
|
|
50
50
|
"typedoc": "^0.22.17",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
],
|
|
99
99
|
"year": 2017
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "0eeb5054111cea51f4714b013dda8700ade3cd54\n"
|
|
102
102
|
}
|