Thin wrappers around log_msg that prepend a severity tag
([INFO], [WARN], [ERROR], [FATAL]) after the
timestamp. Use these in place of bare prefixes (e.g. "WARNING:",
"ERROR:") so that a downstream consumer can filter by severity
with a single regex.
Details
log_fatal is intended to be called immediately before a
stop() or an early-return failure exit — it records the terminal
status in the log file so that a tailing process can grep one canonical
line instead of guessing whether the pipeline aborted.
