summaryrefslogtreecommitdiff
path: root/transcode.sh.1
diff options
context:
space:
mode:
authorDennis Fink2026-05-14 12:55:07 +0200
committerDennis Fink2026-05-14 12:55:07 +0200
commit99e4756dc12650967cf18f3b93f38629cd09b232 (patch)
tree0e48595ba7ac2c6b6cfdbbbb1b6de391f47685a5 /transcode.sh.1
parentdc3d2cb05800d866972b7ba32022428e8474beaa (diff)
downloadtranscode.sh-99e4756dc12650967cf18f3b93f38629cd09b232.tar.gz
transcode.sh-99e4756dc12650967cf18f3b93f38629cd09b232.zip
refactor(output): centralize formatted terminal messages
Add a shared emit() helper for styled terminal output and route error(), msg(), warn(), verbose(), and debug() through it. This removes duplicated printf formatting across the output helpers while keeping the existing prefixes, colors, quiet/verbose/debug gating, and stderr handling for errors. emit() also joins additional message arguments into a single trailing string, matching the output pattern used by the individual helpers. The output helpers now differ only in their prefix, color, and visibility condition, making future formatting changes easier and less error-prone.
Diffstat (limited to 'transcode.sh.1')
0 files changed, 0 insertions, 0 deletions