@lukstei/dsh-log 0.2.2-rc.5.12 → 0.2.2-rc.5.14

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.
Files changed (2) hide show
  1. package/README.md +9 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,19 +18,17 @@ Routes Cordis logger output to stdout and/or log files, with per-logger severity
18
18
  <a id="use-this-package"></a>
19
19
  ## Use this package
20
20
 
21
- The shipped [`cordis.patch.yml`](cordis.patch.yml) mounts one `stdout` output with `default: 2` (INFO). Mount with file output:
21
+ Install with `dsh plugin --profile <profile> add @lukstei/dsh-log`. The shipped [`cordis.patch.yml`](cordis.patch.yml) mounts `id: file-log` with one `stdout` output (`default: 2`, INFO). To add file output or change levels, override `file-log` in your profile `cordis.patch.yml`:
22
22
 
23
23
  ```yaml
24
- - insert:
25
- - id: file-log
26
- name: '@lukstei/dsh-log'
27
- config:
28
- outputs:
29
- - target: stdout
30
- levels: { default: 2, jev-audit: -1 }
31
- - target: file
32
- filePath: ~/.dsh/cache/approvals.log
33
- levels: { default: -1, jev-audit: 2 }
24
+ - id: file-log
25
+ config:
26
+ outputs:
27
+ - target: stdout
28
+ levels: { default: 2, jev-audit: -1 }
29
+ - target: file
30
+ filePath: ~/.dsh/cache/approvals.log
31
+ levels: { default: -1, jev-audit: 2 }
34
32
  ```
35
33
 
36
34
  | Field | Default | Meaning |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukstei/dsh-log",
3
- "version": "0.2.2-rc.5.12",
3
+ "version": "0.2.2-rc.5.14",
4
4
  "description": "File logging exporter for DSH",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",