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:
Anton Staaf 2011-02-28 17:02:53 -08:00
parent a400b3f5fa
commit dec0a5be72

View File

@ -383,15 +383,15 @@ V_BOLD_RED="\e[1;31m"
V_BOLD_YELLOW="\e[1;33m"
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 {
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 {
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 {