mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-18 17:12:08 +01:00
Revert "Add optional logging prefix to info, warn and error messages."
The build bots run things a little different it seems. I'll look into what it is that they do that a normal run doesn't do that causes this change to fail there. But for now I'm reverting it. This reverts commit 6d65c0f1b30d3ea19597d1ae408cea084ee46992. BUG=None TEST=None Review URL: http://codereview.chromium.org/6594062 Change-Id: I7cdfb25c28f1c139981aaf7382cd3e9dbfd4446b
This commit is contained in:
parent
a400b3f5fa
commit
dec0a5be72
@ -383,15 +383,15 @@ V_BOLD_RED="\e[1;31m"
|
|||||||
V_BOLD_YELLOW="\e[1;33m"
|
V_BOLD_YELLOW="\e[1;33m"
|
||||||
|
|
||||||
function info {
|
function info {
|
||||||
echo -e >&2 "${V_BOLD_GREEN}INFO ${CROS_LOG_PREFIX}: $1${V_VIDOFF}"
|
echo -e >&2 "${V_BOLD_GREEN}INFO : $1${V_VIDOFF}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function warn {
|
function warn {
|
||||||
echo -e >&2 "${V_BOLD_YELLOW}WARNING ${CROS_LOG_PREFIX}: $1${V_VIDOFF}"
|
echo -e >&2 "${V_BOLD_YELLOW}WARNING: $1${V_VIDOFF}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function error {
|
function error {
|
||||||
echo -e >&2 "${V_BOLD_RED}ERROR ${CROS_LOG_PREFIX}: $1${V_VIDOFF}"
|
echo -e >&2 "${V_BOLD_RED}ERROR : $1${V_VIDOFF}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function die {
|
function die {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user