@twin.org/logging-service 0.0.1-next.4 → 0.0.1-next.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.
@@ -155,6 +155,10 @@ async function loggingList(httpRequestContext, componentName, request) {
155
155
  * Service for performing logging operations to a connector.
156
156
  */
157
157
  class LoggingService {
158
+ /**
159
+ * The namespace for the logging component.
160
+ */
161
+ static NAMESPACE = "logging";
158
162
  /**
159
163
  * Runtime name for the class.
160
164
  */
@@ -153,6 +153,10 @@ async function loggingList(httpRequestContext, componentName, request) {
153
153
  * Service for performing logging operations to a connector.
154
154
  */
155
155
  class LoggingService {
156
+ /**
157
+ * The namespace for the logging component.
158
+ */
159
+ static NAMESPACE = "logging";
156
160
  /**
157
161
  * Runtime name for the class.
158
162
  */
@@ -3,6 +3,10 @@ import { type ILogEntry, type ILoggingComponent, type LogLevel } from "@twin.org
3
3
  * Service for performing logging operations to a connector.
4
4
  */
5
5
  export declare class LoggingService implements ILoggingComponent {
6
+ /**
7
+ * The namespace for the logging component.
8
+ */
9
+ static readonly NAMESPACE: string;
6
10
  /**
7
11
  * Runtime name for the class.
8
12
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/logging-service - Changelog
2
2
 
3
- ## v0.0.1-next.4
3
+ ## v0.0.1-next.6
4
4
 
5
5
  - Initial Release
@@ -30,6 +30,14 @@ The type of the logging connector to use, defaults to "logging".
30
30
 
31
31
  ## Properties
32
32
 
33
+ ### NAMESPACE
34
+
35
+ > `readonly` `static` **NAMESPACE**: `string` = `"logging"`
36
+
37
+ The namespace for the logging component.
38
+
39
+ ***
40
+
33
41
  ### CLASS\_NAME
34
42
 
35
43
  > `readonly` **CLASS\_NAME**: `string`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/logging-service",
3
- "version": "0.0.1-next.4",
3
+ "version": "0.0.1-next.6",
4
4
  "description": "Logging contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "@twin.org/api-models": "next",
18
18
  "@twin.org/core": "next",
19
19
  "@twin.org/entity": "next",
20
- "@twin.org/logging-models": "0.0.1-next.4",
20
+ "@twin.org/logging-models": "0.0.1-next.6",
21
21
  "@twin.org/nameof": "next",
22
22
  "@twin.org/web": "next"
23
23
  },
@@ -30,7 +30,7 @@
30
30
  "import": "./dist/esm/index.mjs",
31
31
  "types": "./dist/types/index.d.ts"
32
32
  },
33
- "./locales": "./locales"
33
+ "./locales/*.json": "./locales/*.json"
34
34
  },
35
35
  "files": [
36
36
  "dist/cjs",