Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 9, 2005, 10:28:03 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: debug.h with nicer output

File:
1 edited

Legend:

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

    r3439 r3466  
    4646#define PRINTF1 \
    4747    if (verbose >= ERROR) \
    48       printf("%s:%d::", __FILE__, __LINE__) && printf
     48      printf("%s:%d::ERROR:", __FILE__, __LINE__) && printf
    4949#else
    5050#define PRINTF1 if (NO)
     
    5454#define PRINTF2 \
    5555     if (verbose >= WARNING) \
    56        printf("%s:%d::", __FILE__, __LINE__) && printf
     56       printf("%s:%d::WARNING:", __FILE__, __LINE__) && printf
    5757         
    5858#else
     
    6363#define PRINTF3 \
    6464     if (verbose >= INFORMATION) \
    65        printf("%s:%d::", __FILE__, __LINE__) && printf
     65       printf("%s:%d::INFO:", __FILE__, __LINE__) && printf
    6666#else
    6767#define PRINTF3 if (NO)
     
    7171#define PRINTF4 \
    7272     if (verbose >= DEBUGING) \
    73        printf("%s:%d::", __FILE__, __LINE__) && printf
     73       printf("%s:%d::DEBUG:", __FILE__, __LINE__) && printf
    7474#else
    7575#define PRINTF4 if (NO)
Note: See TracChangeset for help on using the changeset viewer.