浏览该文件的文档.
69#ifndef __STUMPLESS_LEVEL_MASK_H
70# define __STUMPLESS_LEVEL_MASK_H
72# if defined( STUMPLESS_ENABLE_UPTO_DEBUG ) || \
73 defined( STUMPLESS_DISABLE_DOWNTO_TRACE )
74# define STUMPLESS_DISABLE_TRACE_LEVEL 1
77# if defined( STUMPLESS_ENABLE_UPTO_INFO ) || \
78 defined( STUMPLESS_DISABLE_DOWNTO_DEBUG )
79# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
80# define STUMPLESS_DISABLE_TRACE_LEVEL 1
83# if defined( STUMPLESS_ENABLE_UPTO_NOTICE ) || \
84 defined( STUMPLESS_DISABLE_DOWNTO_INFO )
85# define STUMPLESS_DISABLE_INFO_LEVEL 1
86# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
87# define STUMPLESS_DISABLE_TRACE_LEVEL 1
90# if defined( STUMPLESS_ENABLE_UPTO_WARNING ) || \
91 defined( STUMPLESS_DISABLE_DOWNTO_NOTICE )
92# define STUMPLESS_DISABLE_NOTICE_LEVEL 1
93# define STUMPLESS_DISABLE_INFO_LEVEL 1
94# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
95# define STUMPLESS_DISABLE_TRACE_LEVEL 1
98# if defined( STUMPLESS_ENABLE_UPTO_ERR ) || \
99 defined( STUMPLESS_DISABLE_DOWNTO_WARNING )
100# define STUMPLESS_DISABLE_WARNING_LEVEL 1
101# define STUMPLESS_DISABLE_NOTICE_LEVEL 1
102# define STUMPLESS_DISABLE_INFO_LEVEL 1
103# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
104# define STUMPLESS_DISABLE_TRACE_LEVEL 1
107# if defined( STUMPLESS_ENABLE_UPTO_CRIT ) || \
108 defined( STUMPLESS_DISABLE_DOWNTO_ERR )
109# define STUMPLESS_DISABLE_ERR_LEVEL 1
110# define STUMPLESS_DISABLE_WARNING_LEVEL 1
111# define STUMPLESS_DISABLE_NOTICE_LEVEL 1
112# define STUMPLESS_DISABLE_INFO_LEVEL 1
113# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
114# define STUMPLESS_DISABLE_TRACE_LEVEL 1
117# if defined( STUMPLESS_ENABLE_UPTO_ALERT ) || \
118 defined( STUMPLESS_DISABLE_DOWNTO_CRIT )
119# define STUMPLESS_DISABLE_CRIT_LEVEL 1
120# define STUMPLESS_DISABLE_ERR_LEVEL 1
121# define STUMPLESS_DISABLE_WARNING_LEVEL 1
122# define STUMPLESS_DISABLE_NOTICE_LEVEL 1
123# define STUMPLESS_DISABLE_INFO_LEVEL 1
124# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
125# define STUMPLESS_DISABLE_TRACE_LEVEL 1
128# if defined( STUMPLESS_ENABLE_UPTO_EMERG ) || \
129 defined( STUMPLESS_DISABLE_DOWNTO_ALERT )
130# define STUMPLESS_DISABLE_ALERT_LEVEL 1
131# define STUMPLESS_DISABLE_CRIT_LEVEL 1
132# define STUMPLESS_DISABLE_ERR_LEVEL 1
133# define STUMPLESS_DISABLE_WARNING_LEVEL 1
134# define STUMPLESS_DISABLE_NOTICE_LEVEL 1
135# define STUMPLESS_DISABLE_INFO_LEVEL 1
136# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
137# define STUMPLESS_DISABLE_TRACE_LEVEL 1
140# if defined( STUMPLESS_DISABLE_ALL_LEVELS ) || \
141 defined( STUMPLESS_DISABLE_DOWNTO_EMERG )
142# define STUMPLESS_DISABLE_EMERG_LEVEL 1
143# define STUMPLESS_DISABLE_ALERT_LEVEL 1
144# define STUMPLESS_DISABLE_CRIT_LEVEL 1
145# define STUMPLESS_DISABLE_ERR_LEVEL 1
146# define STUMPLESS_DISABLE_WARNING_LEVEL 1
147# define STUMPLESS_DISABLE_NOTICE_LEVEL 1
148# define STUMPLESS_DISABLE_INFO_LEVEL 1
149# define STUMPLESS_DISABLE_DEBUG_LEVEL 1
150# define STUMPLESS_DISABLE_TRACE_LEVEL 1