diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-07-12 17:07:55 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-07-12 17:16:16 +1000 |
commit | dc558da002794cc07013e8376f3c55c73391aa0e (patch) | |
tree | faba96f981f1ea0c6888b387cf43cc78d0bc2927 /src/dutil/inc/dutilsources.h | |
parent | aeddc77fc021f11f68a4c1a093eabf9776866b80 (diff) | |
download | wix-dc558da002794cc07013e8376f3c55c73391aa0e.tar.gz wix-dc558da002794cc07013e8376f3c55c73391aa0e.tar.bz2 wix-dc558da002794cc07013e8376f3c55c73391aa0e.zip |
Update Dutil_TraceErrorSource to filter based on the report level.
Diffstat (limited to 'src/dutil/inc/dutilsources.h')
-rw-r--r-- | src/dutil/inc/dutilsources.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dutil/inc/dutilsources.h b/src/dutil/inc/dutilsources.h index bf3da16f..b03013ca 100644 --- a/src/dutil/inc/dutilsources.h +++ b/src/dutil/inc/dutilsources.h | |||
@@ -63,3 +63,13 @@ typedef enum DUTIL_SOURCE | |||
63 | 63 | ||
64 | DUTIL_SOURCE_EXTERNAL = 256, | 64 | DUTIL_SOURCE_EXTERNAL = 256, |
65 | } DUTIL_SOURCE; | 65 | } DUTIL_SOURCE; |
66 | |||
67 | typedef enum REPORT_LEVEL | ||
68 | { | ||
69 | REPORT_NONE, // turns off report (only valid for XXXSetLevel()) | ||
70 | REPORT_WARNING, // written if want only warnings or reporting is on in general | ||
71 | REPORT_STANDARD, // written if reporting is on | ||
72 | REPORT_VERBOSE, // written only if verbose reporting is on | ||
73 | REPORT_DEBUG, // reporting useful when debugging code | ||
74 | REPORT_ERROR, // always gets reported, but can never be specified | ||
75 | } REPORT_LEVEL; | ||