summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-08-12 16:57:46 +0100
committerdanh-arm <dan.handley@arm.com>2014-08-12 16:57:46 +0100
commit6f08fd5f95c276b532123994407d0c5999ff61db (patch)
treeaee9e7965acceefc95afad26aa9839ec19a13270 /docs
parent46339731477bbed24f9dbf81d38deb5ad3b5727c (diff)
parent6ad2e461f0cd6de5aefd89fa0ba7acf2c293b8c2 (diff)
Merge pull request #183 from danh-arm/dh/print_output2
Add concept of console output log levels Rationalize console log output
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/user-guide.md b/docs/user-guide.md
index 80f42a9..6ad2927 100644
--- a/docs/user-guide.md
+++ b/docs/user-guide.md
@@ -146,6 +146,19 @@ performed.
* `DEBUG`: Chooses between a debug and release build. It can take either 0
(release) or 1 (debug) as values. 0 is the default
+* `LOG_LEVEL`: Chooses the log level, which controls the amount of console log
+ 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.
+
* `NS_TIMER_SWITCH`: Enable save and restore for non-secure timer register
contents upon world switch. It can take either 0 (don't save and restore) or
1 (do save and restore). 0 is the default. An SPD could set this to 1 if it