aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/include/ct.hrl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-08-23 16:39:57 +0200
committerPeter Andersson <[email protected]>2012-08-23 16:39:57 +0200
commit2f32d6fd9305a17b8f61280a6834ce68b2e85fc8 (patch)
treef591e7e9aaea07bd4b3b3ccfc76b9dca21d39878 /lib/common_test/include/ct.hrl
parent9db2abbe92a61f3dd8f269bc4deabb68b9176662 (diff)
parent182564757661d6cd507d2e92d175c61602a25394 (diff)
downloadotp-2f32d6fd9305a17b8f61280a6834ce68b2e85fc8.tar.gz
otp-2f32d6fd9305a17b8f61280a6834ce68b2e85fc8.tar.bz2
otp-2f32d6fd9305a17b8f61280a6834ce68b2e85fc8.zip
Merge branch 'maint'
Diffstat (limited to 'lib/common_test/include/ct.hrl')
-rw-r--r--lib/common_test/include/ct.hrl13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/common_test/include/ct.hrl b/lib/common_test/include/ct.hrl
index 5a77108e1a..43b1b1c11f 100644
--- a/lib/common_test/include/ct.hrl
+++ b/lib/common_test/include/ct.hrl
@@ -19,3 +19,16 @@
-include_lib("test_server/include/test_server.hrl").
+%% the log level is used as argument to any CT logging function
+-define(MIN_IMPORTANCE, 0 ).
+-define(LOW_IMPORTANCE, 25).
+-define(STD_IMPORTANCE, 50).
+-define(HI_IMPORTANCE, 75).
+-define(MAX_IMPORTANCE, 99).
+
+%% verbosity thresholds to filter out logging printouts
+-define(MIN_VERBOSITY, 0 ). %% turn logging off
+-define(LOW_VERBOSITY, 25 ).
+-define(STD_VERBOSITY, 50 ).
+-define(HI_VERBOSITY, 75 ).
+-define(MAX_VERBOSITY, 100).