diff options
author | Dan Handley <dan.handley@arm.com> | 2014-08-08 14:36:42 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-08-12 16:51:05 +0100 |
commit | 289c28a8f5954bd548e6ab9ac8515479981fb6d1 (patch) | |
tree | 5e02d8d17db04fd04b6fd675da51d0a7cc90d6ab /lib/stdlib/assert.c | |
parent | c1efc4c0666b95912b54e079de484d8c2249e045 (diff) |
Add concept of console output log levels
Create new LOG_LEVEL build option, which controls the amount of
console output compiled into the build. This should be one of the
following:
0 (LOG_LEVEL_NONE)
10 (LOG_LEVEL_NOTICE)
20 (LOG_LEVEL_ERROR)
30 (LOG_LEVEL_WARNING)
40 (LOG_LEVEL_INFO)
50 (LOG_LEVEL_VERBOSE)
All log output up to and including the log level is compiled into the
build. The default value is 40 in debug builds and 20 in release
builds.
Complement the existing INFO, WARN and ERROR console output macros
with NOTICE and VERBOSE macros, which are conditionally compiled in
depending on the value of LOG_LEVEL.
Fixes ARM-software/tf-issues#232
Change-Id: I951e2f333e7b90fc4b1060741d9a6db699d5aa72
Diffstat (limited to 'lib/stdlib/assert.c')
0 files changed, 0 insertions, 0 deletions