Controlling Trace Output
The Execution Tracing package provides many ways to filter trace output, so it is useful to compare them all in one place.
1. Using the RW_USER_TRACE_LEVEL macro at compile time actually compiles out the code that generates trace messages less severe than the specified level.
2. Using the RW_TRACE_LEVEL environment variable at runtime prevents the trace manager from forwarding events that are less severe than the level specified.
3. Any events that pass the first two “filters” can be filtered using
RWTraceLevelFilter or any filter you create.