Files
mfer/internal
sneak 2e415004a8
check / check (push) Waiting to run
Move internal/log from apex/log to log/slog (closes #77)
internal/log now logs through log/slog. After Init, records go to a small
slog.Handler that prints the same lines as before, colored by the same
rule; before Init they go to slog.Default(). Level filtering, the helpers
and their call sites are unchanged. With NO_COLOR set on a terminal, log
lines are no longer colored.

pterm is dropped: mfer used it only to print progress lines to the
configured stdout, which fmt now does directly, outside slog. apex/log,
pterm and their indirect dependencies leave go.mod; golang.org/x/term,
already in the module graph, becomes direct.

simplelog is not used: its handler writes to stdout and would change the
CLI's output. The logger stays process-global, since injecting it would
change package mfer's API.

Model: opus-5-5
2026-10-04 12:09:28 +00:00
..