2g 0.4.2 → 0.4.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # 2g
2
2
 
3
+ ## 0.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - ⚠️ Fix IPC for child process/worker threads not activating for explicit log targets, for example on `record`
8
+ Submitted by [@kitten](https://github.com/kitten) (See [#16](https://github.com/kitten/2g/pull/16))
9
+
3
10
  ## 0.4.2
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -250,9 +250,9 @@ inactive.
250
250
 
251
251
  #### `getEventLoggerInfo() => EventLoggerInfo | null`
252
252
 
253
- Returns the active destination — `{ destination, isUserVisibleOutput }` plus a `file`,
254
- `fd`, or `sessionDir` — or `null` when logging is inactive. `isUserVisibleOutput` is
255
- `true` when events write to stdout or stderr.
253
+ Returns the active destination — `{ destination, isUserVisibleOutput, debug }` plus a
254
+ `file`, `fd`, or `sessionDir` — or `null` when logging is inactive.
255
+ `isUserVisibleOutput` is `true` when events write to stdout or stderr.
256
256
 
257
257
  #### `interface Serialized<T>`
258
258
 
package/dist/2g.d.ts CHANGED
@@ -18,6 +18,7 @@ declare namespace events {
18
18
  interface EventLoggerInfo {
19
19
  destination: 'file' | 'stdout' | 'stderr' | 'fd' | 'session' | 'ipc';
20
20
  isUserVisibleOutput: boolean;
21
+ debug: boolean;
21
22
  file?: string;
22
23
  fd?: number;
23
24
  sessionDir?: string;