Apply logging prefix on output from DEBUG_MEMORY

This commit is contained in:
Geoff Bourne committed 2026-03-14 09:35:43 -05:00
1 parent c5a298fa05
commit dfdc95572a
2 files changed
+8 -2

No files matched your search

+6
View File
@@ -125,6 +125,12 @@ function logn() {
echo -n "[init] $*"
}
# Use as
# cmd | applyLogPrefix
function applyLogPrefix() {
sed 's/^/[init] /'
}
function log() {
local oldState
# The return status when listing options is zero if all optnames are enabled, non- zero otherwise.