@webex/plugin-logger 3.12.0-next.6 → 3.12.0-next.60
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/.repo-context.json +389 -0
- package/.sdd/manifest.json +334 -0
- package/AGENTS.md +175 -0
- package/dist/logger.js +37 -4
- package/dist/logger.js.map +1 -1
- package/docs/adr/0001-retain-product-readme.md +76 -0
- package/docs/adr/index.md +18 -0
- package/docs/architecture.md +252 -0
- package/docs/getting-started.md +88 -0
- package/docs/index.md +42 -0
- package/docs/specs/README.md +65 -0
- package/package.json +10 -10
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +320 -0
- package/src/logger.js +36 -0
- package/test/unit/spec/logger.js +318 -54
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: Specification registry
|
|
4
|
+
description: Canonical specification registry and change-routing guide.
|
|
5
|
+
tags: [specifications, registry]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: spec-index@0.3.0
|
|
10
|
+
generated_by: claude-cowork
|
|
11
|
+
approved_by: akulakum@cisco.com
|
|
12
|
+
updated_at: 2026-10-08T08:51:39Z
|
|
13
|
+
validation_status: pass-with-warnings
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# Specification registry
|
|
17
|
+
|
|
18
|
+
Use this page to find the canonical package architecture and the instantiated module specification. Keep technical facts in the owning document.
|
|
19
|
+
|
|
20
|
+
Start with the [package architecture](../architecture.md). No service specification exists here: this package is a library published to npm, not a deployable service, so that artifact is omitted in `.sdd/manifest.json`.
|
|
21
|
+
|
|
22
|
+
## Document roles
|
|
23
|
+
|
|
24
|
+
| Document | Canonical ownership |
|
|
25
|
+
| -------- | ------------------- |
|
|
26
|
+
| [Package architecture](../architecture.md) | Package boundaries, resource inventory, interactions, dependency topology, and cross-cutting architecture |
|
|
27
|
+
| Service specification | Not applicable — no deployable service exists in this package |
|
|
28
|
+
| Module specifications | Stable behavior and design at each manifest-routed module spec |
|
|
29
|
+
| [ADR](../adr/) | A durable decision, its rationale, and consequences |
|
|
30
|
+
|
|
31
|
+
## Instantiated specification registry
|
|
32
|
+
|
|
33
|
+
| Resource | Role | Canonical path | Owner | Status | Last verified |
|
|
34
|
+
| -------- | ---- | -------------- | ----- | ------ | ------------- |
|
|
35
|
+
| Package | Architecture | `docs/architecture.md` | @webex/web-client, @webex/web-sdk | Active | 2026-10-06 |
|
|
36
|
+
| Logger plugin | Module | `src/docs/README.md` | @webex/web-client, @webex/web-sdk | Draft | 2026-10-06 |
|
|
37
|
+
| `plugin-logger-sdk` | Contract | `package.json` | @webex/web-client, @webex/web-sdk | Active | 2026-10-06 |
|
|
38
|
+
| `log-buffer-format` | Contract | `src/logger.js` | @webex/web-client, @webex/web-sdk | Active | 2026-10-06 |
|
|
39
|
+
|
|
40
|
+
### Module registry
|
|
41
|
+
|
|
42
|
+
| Module | Responsibility | Manifest coverage state | Start here |
|
|
43
|
+
| --- | --- | --- | --- |
|
|
44
|
+
| `src` | Leveled console logging, redaction, bounded buffers, and upload formatting | Partial | `src/docs/README.md` |
|
|
45
|
+
|
|
46
|
+
Generator-side field measurement is complete. Field coverage measured 2026-10-06 is 93.8% (15 of 16 mandatory fields PRESENT). Critical fields are 8 of 8 PRESENT. The WEAK field is test strategy: registration, the non-throwing catch branch, group indentation, and the documented redaction gaps have no unit test. Coverage state stays `Partial` until independent validation runs and a spec-drift record exists.
|
|
47
|
+
|
|
48
|
+
## Change and verification routing
|
|
49
|
+
|
|
50
|
+
| Change affects | Load and update | Verification route |
|
|
51
|
+
| -------------- | --------------- | ------------------ |
|
|
52
|
+
| Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn workspace @webex/plugin-logger test:unit` and `yarn workspace @webex/plugin-logger test:style` |
|
|
53
|
+
| A deployable service surface or operating posture | Not applicable — no deployable service exists in this package | Not applicable |
|
|
54
|
+
| A stable code or package boundary | `src/docs/README.md` | `yarn workspace @webex/plugin-logger test:unit` |
|
|
55
|
+
| Redaction, levels, buffers, or `formatLogs` output | The module spec plus `src/logger.js`; check `@webex/internal-plugin-support` | Unit spec, then `yarn workspace @webex/plugin-logger test:browser` |
|
|
56
|
+
|
|
57
|
+
## Module and contract registration
|
|
58
|
+
|
|
59
|
+
The only module is `src`, with canonical spec `src/docs/README.md`.
|
|
60
|
+
|
|
61
|
+
`plugin-logger-sdk` is published. Its ecosystem-native artifact is `package.json`. Per-export behavior is specified in the module spec and implemented in `src/`. No OpenAPI document applies, which is why `api-specs/openapi.yaml` is omitted.
|
|
62
|
+
|
|
63
|
+
`log-buffer-format` is internal. Its source is `src/logger.js`, and its consumer is `@webex/internal-plugin-support`.
|
|
64
|
+
|
|
65
|
+
`webex-core-plugin-host`, `webex-common-js-api`, and `lodash` are external required contracts. They are not implemented in this package.
|
package/package.json
CHANGED
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
25
25
|
"@webex/jest-config-legacy": "0.0.0",
|
|
26
26
|
"@webex/legacy-tools": "0.0.0",
|
|
27
|
-
"@webex/test-helper-chai": "3.
|
|
28
|
-
"@webex/test-helper-mocha": "3.
|
|
29
|
-
"@webex/test-helper-mock-webex": "3.
|
|
30
|
-
"@webex/test-helper-test-users": "3.
|
|
27
|
+
"@webex/test-helper-chai": "3.12.0-next.9",
|
|
28
|
+
"@webex/test-helper-mocha": "3.12.0-next.9",
|
|
29
|
+
"@webex/test-helper-mock-webex": "3.12.0-next.9",
|
|
30
|
+
"@webex/test-helper-test-users": "3.12.0-next.9",
|
|
31
31
|
"eslint": "^8.24.0",
|
|
32
32
|
"prettier": "^2.7.1",
|
|
33
33
|
"sinon": "^9.2.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@webex/common": "3.
|
|
37
|
-
"@webex/test-helper-chai": "3.
|
|
38
|
-
"@webex/test-helper-mocha": "3.
|
|
39
|
-
"@webex/test-helper-mock-webex": "3.
|
|
40
|
-
"@webex/webex-core": "3.12.0-next.
|
|
36
|
+
"@webex/common": "3.12.0-next.9",
|
|
37
|
+
"@webex/test-helper-chai": "3.12.0-next.9",
|
|
38
|
+
"@webex/test-helper-mocha": "3.12.0-next.9",
|
|
39
|
+
"@webex/test-helper-mock-webex": "3.12.0-next.9",
|
|
40
|
+
"@webex/webex-core": "3.12.0-next.63",
|
|
41
41
|
"lodash": "^4.17.21"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"test:style": "eslint ./src/**/*.*",
|
|
50
50
|
"test:unit": "webex-legacy-tools test --unit --runner jest"
|
|
51
51
|
},
|
|
52
|
-
"version": "3.12.0-next.
|
|
52
|
+
"version": "3.12.0-next.60"
|
|
53
53
|
}
|