Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
In .NET code, a trace level object is created and passed to the WTTLogger.Trace method. The following table shows the available trace levels and the associated classes.
Trace level | Trace level class |
---|---|
Assertion |
LevelAssert |
Debug break |
LevelBreak |
Known bug |
LevelBug |
Custom-defined trace level |
LevelCustom |
Error |
LevelError |
Invalid parameter |
LevelInvalidParam |
Message |
LevelMessage |
Test suite rollup information |
LevelRollup |
Tactics fields |
LevelTCMInfo |
Warning message |
LevelWarning |
Enabling and disabling trace levels
Trace levels are enabled by default; however, you can programmatically enable and disable trace levels if desired.
To disable trace levels, call the WTTLogger.DisableTraceLevels method.
To enable trace levels, call the WTTLogger.EnableTraceLevels method.
Build date: 9/14/2012