mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-28 13:15:42 +00:00
Apply logging prefix on output from DEBUG_MEMORY (#3975)
This commit is contained in:
1 parent
68bb650617
commit
cf8ab31e25
2 files changed
+8
-2
No files matched your search
@@ -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