Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 1 and Version 2 of code/howto/Output


Ignore:
Timestamp:
Sep 25, 2008, 1:13:06 AM (16 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/howto/Output

    v1 v2  
    22[[TracNav(TracNav/TOC_Development)]]
    33
    4 First you have to include Debug.h:
     4First you have to include [wiki:Debug Debug.h]:
    55{{{
    66#include "util/Debug.h"
     
    2323
    2424Every 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
     26For more information, see [wiki:Debug].