also looking at this
feat(log): --log-file, and a logger that survives being used
#78
5 files
+691
-37
| @@ -8,6 +8,15 @@ pub const macos = if (builtin.os.tag == .macos) else struct | ||
| 8 | 8 | const BridgeAPI = .BridgeAPI; |
| 9 | 9 | |
| 10 | 10 | // Re-export io_context so root modules can access it without dual-module conflicts |
| 11 | /// The host-side logger, and the sink `--log-file` configures. | |
| 12 | /// | |
| 13 | /// Exported here because `minimal.zig` — the executable's root — cannot | |
| 14 | /// `` directly: a file may belong to only one module per | |
| 15 | /// compilation and this one belongs to `craft`. `src/craft.zig` appears to | |
| 16 | /// export it as `craft.app.Log`, but that file is not a module root and | |
| 17 | /// nothing imports it, so it was never a reachable surface. | |
| 18 | pub const Log = ; | |
| 19 | pub const Logging = ; | |
| 11 | 20 | pub const io_context = ; |
| 12 | 21 | pub const startup_timing = ; |
| 13 | 22 | pub const js_runtime = ; |