pub fn init()Expand description
Initialize logging + optional profiling subscribers using the
default zshrs.log filename. Equivalent to
init_named("zshrs.log"). Safe to call multiple times — only
the first call takes effect.
zshrs-original — no C counterpart. C zsh’s Src/init.c
setupshin() doesn’t open a log file.
Env vars: ZSHRS_LOG=debug|trace|info|warn|error (default: info)