Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3212 in orxonox.OLD for orxonox/trunk/src


Ignore:
Timestamp:
Dec 18, 2004, 1:40:33 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: nicer debug.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/debug.h

    r3206 r3212  
    99#define PRINTF1 \
    1010    if (verbose >= 1 ) \
    11         printf
     11      printf("%s:%d::", __FILE__, __LINE__) && printf
    1212#else
    1313#define PRINTF1 //
     
    1717#define PRINTF2 \
    1818     if (verbose >= 2 ) \
    19          printf
     19       printf("%s:%d::", __FILE__, __LINE__) && printf
    2020         
    2121#else
     
    2626#define PRINTF3 \
    2727     if (verbose >= 3 ) \
    28         printf
     28       printf("%s:%d::", __FILE__, __LINE__) && printf
    2929#else
    3030#define PRINTF3 //
     
    3434#define PRINTF4 \
    3535     if (verbose >= 4 ) \
    36          printf
     36       printf("%s:%d::", __FILE__, __LINE__) && printf
    3737#else
    3838#define PRINTF4 //
     
    4545
    4646#define PRINTF0 \
    47     printf
     47    printf("%s:%d::", __FILE__, __LINE__) && printf
    4848
    4949#endif /* _DEBUG_H */
Note: See TracChangeset for help on using the changeset viewer.