mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-15 03:01:23 +00:00
Apply logging prefix on output from DEBUG_MEMORY
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user