Changes between Version 1 and Version 2 of code/howto/Output
- Timestamp:
- Sep 25, 2008, 1:13:06 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/howto/Output
v1 v2 2 2 [[TracNav(TracNav/TOC_Development)]] 3 3 4 First you have to include Debug.h:4 First you have to include [wiki:Debug Debug.h]: 5 5 {{{ 6 6 #include "util/Debug.h" … … 23 23 24 24 Every output through COUT will be sent to each the console, the logfile and the [wiki:Shell]. There is a [wiki:howto/ConfigFile configurable] maximal output level for every device. If the level of your output is > the maximal level of a device, it wont be displayed. But don't use COUT(0) all the time, because the user SHOULD be able to deactivate your output unless it's REALLY important. 25 26 For more information, see [wiki:Debug].