mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 01:34:04 +00:00
ModuleLog: each module's own log, labelled with its id, reached as context.log(), PackWorld.log() and FeatureRegistry.log()
This commit is contained in:
1 parent
d7de5939d7
commit
e0ffe04a0d
26 files changed
+625
-27
No files matched your search
@@ -105,6 +105,10 @@ running Iris is the pack publisher's responsibility.
|
||||
themselves.
|
||||
- Name the packages of the classes Iris describes itself with `ModuleHost.describingHostTypesIn(...)`,
|
||||
decode them as Iris does, and render each `HostKind` with Iris's own description of the class.
|
||||
- Back each module's log with the host's own: `ModuleHost.loggingTo(logger)` where `logger` writes `DEBUG` only when the
|
||||
host's debug setting is on and writes an `ERROR` with a cause as the host reports its own failures. Implement
|
||||
`PackWorld.log()` and `withLog(log)` (a view of the world sharing everything else) and hand services a world scoped to the
|
||||
provider's module (`ServiceRegistration.scope`); the runners do it for stages and hooks.
|
||||
- Hand modules heights above the dimension's bottom (0 = bottom block, whatever the platform's minimum
|
||||
height is) in every value that carries Y: samples, bounds, block views, placement edits, the mantle,
|
||||
hunks. X and Z stay world coordinates. Convert in one place at the boundary.
|
||||
|
||||
Reference in new issue
Block a user