Format log messages with program name
Some checks are pending
portzap / shellcheck (push) Waiting to run
Some checks are pending
portzap / shellcheck (push) Waiting to run
This commit is contained in:
parent
d449bcc1b4
commit
f7374a63b8
2 changed files with 6 additions and 2 deletions
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
printok()
|
printok()
|
||||||
{
|
{
|
||||||
printf "ok: %s\n" "${1}" > /dev/stdout
|
printf "portzap: %s\n" "${1}" > /dev/stdout
|
||||||
}
|
}
|
||||||
|
|
||||||
printerr()
|
printerr()
|
||||||
{
|
{
|
||||||
printf "error: %s\n" "${1}" > /dev/stderr
|
printf "portzap: %s\n" "${1}" > /dev/stderr
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
* vNEXT
|
* vNEXT
|
||||||
|
|
||||||
|
**** Format log messages with program name
|
||||||
|
This change formats log messages written to standard output
|
||||||
|
and standard error with the pattern ~portzap: <message>~
|
||||||
|
|
||||||
**** Fix typo in ~commands/portzap-setup~
|
**** Fix typo in ~commands/portzap-setup~
|
||||||
This change fixes a typo that would throw an error when
|
This change fixes a typo that would throw an error when
|
||||||
running the ~portzap setup~ command
|
running the ~portzap setup~ command
|
||||||
|
|
Loading…
Reference in a new issue