mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-03 19:51:49 +00:00
StructureFit.log(): a vanilla structure fit knows the log of the module it was handed to; each provider gets its own fit
This commit is contained in:
1 parent
e0ffe04a0d
commit
a707b237cf
2 files changed
+10
-4
No files matched your search
@@ -289,8 +289,8 @@ private static void decorate(ChunkStageContext context) {
|
||||
| `error(message, cause)` | A failure the module caught and cannot recover from. The host logs it and reports `cause` like its own failures. A null `cause` only logs. |
|
||||
|
||||
- A message is plain text, never a format string.
|
||||
- `context.log()` (stage bodies, object generators), `world.log()` (services and lifecycle hooks, which get a world as
|
||||
their argument) and `registry.log()` (while `register` runs) are the same module's log. Keep the registry's log in a
|
||||
- `context.log()` (stage bodies, object generators), `fit.log()` (vanilla structure fits), `world.log()` (services and
|
||||
lifecycle hooks, which get a world as their argument) and `registry.log()` (while `register` runs) are the same module's log. Keep the registry's log in a
|
||||
field when `packLoaded`, which has no world, needs to log. `registry.log()` outside `register` throws.
|
||||
- Do not use `System.out`, `System.getLogger` or a logging library of your own: the host cannot label or report them.
|
||||
|
||||
|
||||
Reference in new issue
Block a user