Feat: Log-Funktion in einer eigenen Datei
This commit is contained in:
parent
a5f77c9b7f
commit
e34f494882
6
Utility/Log.sh
Executable file
6
Utility/Log.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Funktion zum Protokollieren von Nachrichten
|
||||||
|
log() {
|
||||||
|
echo "$(date +'%Y-%m-%d %H:%M:%S') - $1"
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user