@twin.org/logging-models 0.0.1-next.13 → 0.0.1-next.15
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/docs/changelog.md +14 -0
- package/docs/reference/classes/LogEntryHelper.md +3 -3
- package/docs/reference/classes/MultiLoggingConnector.md +5 -5
- package/docs/reference/classes/SilentLoggingConnector.md +5 -5
- package/docs/reference/interfaces/ILoggingComponent.md +2 -2
- package/docs/reference/interfaces/ILoggingConnector.md +2 -2
- package/docs/reference/type-aliases/LogLevel.md +1 -1
- package/package.json +1 -1
package/docs/changelog.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# @twin.org/logging-models - Changelog
|
2
2
|
|
3
|
+
## [0.0.1-next.15](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.1-next.14...logging-models-v0.0.1-next.15) (2025-06-12)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* update dependencies ([976fc06](https://github.com/twinfoundation/logging/commit/976fc06976c4899769486b7cb2e827c407d7fc89))
|
9
|
+
|
10
|
+
## [0.0.1-next.14](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.1-next.13...logging-models-v0.0.1-next.14) (2025-04-17)
|
11
|
+
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
* use shared store mechanism ([#20](https://github.com/twinfoundation/logging/issues/20)) ([bbacd31](https://github.com/twinfoundation/logging/commit/bbacd31af991d82d84294ad432a40830692880ca))
|
16
|
+
|
3
17
|
## [0.0.1-next.13](https://github.com/twinfoundation/logging/compare/logging-models-v0.0.1-next.12...logging-models-v0.0.1-next.13) (2025-03-28)
|
4
18
|
|
5
19
|
|
@@ -4,13 +4,13 @@ Helper class for log entry operations.
|
|
4
4
|
|
5
5
|
## Constructors
|
6
6
|
|
7
|
-
###
|
7
|
+
### Constructor
|
8
8
|
|
9
|
-
> **new LogEntryHelper**():
|
9
|
+
> **new LogEntryHelper**(): `LogEntryHelper`
|
10
10
|
|
11
11
|
#### Returns
|
12
12
|
|
13
|
-
|
13
|
+
`LogEntryHelper`
|
14
14
|
|
15
15
|
## Methods
|
16
16
|
|
@@ -8,9 +8,9 @@ Class for performing logging operations on multiple connectors.
|
|
8
8
|
|
9
9
|
## Constructors
|
10
10
|
|
11
|
-
###
|
11
|
+
### Constructor
|
12
12
|
|
13
|
-
> **new MultiLoggingConnector**(`options`):
|
13
|
+
> **new MultiLoggingConnector**(`options`): `MultiLoggingConnector`
|
14
14
|
|
15
15
|
Create a new instance of MultiLoggingConnector.
|
16
16
|
|
@@ -24,7 +24,7 @@ The options for the connector.
|
|
24
24
|
|
25
25
|
#### Returns
|
26
26
|
|
27
|
-
|
27
|
+
`MultiLoggingConnector`
|
28
28
|
|
29
29
|
## Properties
|
30
30
|
|
@@ -76,7 +76,7 @@ Nothing.
|
|
76
76
|
|
77
77
|
### query()
|
78
78
|
|
79
|
-
> **query**(`conditions
|
79
|
+
> **query**(`conditions?`, `sortProperties?`, `properties?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](../interfaces/ILogEntry.md)\>[]; `cursor?`: `string`; \}\>
|
80
80
|
|
81
81
|
Query the log entries.
|
82
82
|
|
@@ -114,7 +114,7 @@ The maximum number of entities in a page.
|
|
114
114
|
|
115
115
|
#### Returns
|
116
116
|
|
117
|
-
`Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](../interfaces/ILogEntry.md)\>[]; `cursor
|
117
|
+
`Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](../interfaces/ILogEntry.md)\>[]; `cursor?`: `string`; \}\>
|
118
118
|
|
119
119
|
All the entities for the storage matching the conditions,
|
120
120
|
and a cursor which can be used to request more entities.
|
@@ -8,13 +8,13 @@ Class for performing logging operations to nowhere.
|
|
8
8
|
|
9
9
|
## Constructors
|
10
10
|
|
11
|
-
###
|
11
|
+
### Constructor
|
12
12
|
|
13
|
-
> **new SilentLoggingConnector**():
|
13
|
+
> **new SilentLoggingConnector**(): `SilentLoggingConnector`
|
14
14
|
|
15
15
|
#### Returns
|
16
16
|
|
17
|
-
|
17
|
+
`SilentLoggingConnector`
|
18
18
|
|
19
19
|
## Properties
|
20
20
|
|
@@ -66,7 +66,7 @@ Nothing.
|
|
66
66
|
|
67
67
|
### query()
|
68
68
|
|
69
|
-
> **query**(`conditions
|
69
|
+
> **query**(`conditions?`, `sortProperties?`, `properties?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](../interfaces/ILogEntry.md)\>[]; `cursor?`: `string`; \}\>
|
70
70
|
|
71
71
|
Query the log entries.
|
72
72
|
|
@@ -104,7 +104,7 @@ The maximum number of entities in a page.
|
|
104
104
|
|
105
105
|
#### Returns
|
106
106
|
|
107
|
-
`Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](../interfaces/ILogEntry.md)\>[]; `cursor
|
107
|
+
`Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](../interfaces/ILogEntry.md)\>[]; `cursor?`: `string`; \}\>
|
108
108
|
|
109
109
|
All the entities for the storage matching the conditions,
|
110
110
|
and a cursor which can be used to request more entities.
|
@@ -32,7 +32,7 @@ Nothing.
|
|
32
32
|
|
33
33
|
### query()
|
34
34
|
|
35
|
-
> **query**(`level
|
35
|
+
> **query**(`level?`, `source?`, `timeStart?`, `timeEnd?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: [`ILogEntry`](ILogEntry.md)[]; `cursor?`: `string`; \}\>
|
36
36
|
|
37
37
|
Query the log entries.
|
38
38
|
|
@@ -76,7 +76,7 @@ The maximum number of entities in a page.
|
|
76
76
|
|
77
77
|
#### Returns
|
78
78
|
|
79
|
-
`Promise`\<\{ `entities`: [`ILogEntry`](ILogEntry.md)[]; `cursor
|
79
|
+
`Promise`\<\{ `entities`: [`ILogEntry`](ILogEntry.md)[]; `cursor?`: `string`; \}\>
|
80
80
|
|
81
81
|
All the entities for the storage matching the conditions,
|
82
82
|
and a cursor which can be used to request more entities.
|
@@ -32,7 +32,7 @@ Nothing.
|
|
32
32
|
|
33
33
|
### query()?
|
34
34
|
|
35
|
-
> `optional` **query**(`conditions
|
35
|
+
> `optional` **query**(`conditions?`, `sortProperties?`, `properties?`, `cursor?`, `pageSize?`): `Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](ILogEntry.md)\>[]; `cursor?`: `string`; \}\>
|
36
36
|
|
37
37
|
Query the log entries.
|
38
38
|
|
@@ -70,7 +70,7 @@ The maximum number of entities in a page.
|
|
70
70
|
|
71
71
|
#### Returns
|
72
72
|
|
73
|
-
`Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](ILogEntry.md)\>[]; `cursor
|
73
|
+
`Promise`\<\{ `entities`: `Partial`\<[`ILogEntry`](ILogEntry.md)\>[]; `cursor?`: `string`; \}\>
|
74
74
|
|
75
75
|
All the entities for the storage matching the conditions,
|
76
76
|
and a cursor which can be used to request more entities.
|