pub fn init_from_config(tag: &str, config_json: Option<&str>)Expand description
Initialise scribe with the process tag and apply the on-disk log level
from a launch-config JSON — the system component’s manifest config block
that rbnx serialises and passes via --config-json. Reads the top-level
log key (e.g. {"log":"debug"}); a valid level sets the file-sink floor
for this process so the level actually reaches the log file (rbnx logs).
Use this instead of init in binaries launched with a config: the
manifest’s per-component log: had no effect before, because the level
was parsed into a CLI flag the binary discarded. Absent / unparseable
log falls back to the SCRIBE_FILE_LEVEL env / Info default.
Call once at startup, before the first log, on the main thread.