Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3511 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Mar 12, 2005, 12:30:43 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: nicer debug-output

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

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

    r3480 r3511  
    4646#define PRINTF1 \
    4747    if (verbose >= ERR) \
    48       printf("%s:%d::ERROR:", __FILE__, __LINE__) && printf
     48      printf("ERROR::%s:%d:", __FILE__, __LINE__) && printf
    4949#else
    5050#define PRINTF1 if (NO)
     
    5454#define PRINTF2 \
    5555     if (verbose >= WARN) \
    56        printf("%s:%d::WARNING:", __FILE__, __LINE__) && printf
     56       printf("WARNING::%s:%d:", __FILE__, __LINE__) && printf
    5757         
    5858#else
     
    6363#define PRINTF3 \
    6464     if (verbose >= INFO) \
    65        printf("%s:%d::INFO:", __FILE__, __LINE__) && printf
     65       printf("INFO::%s:%d:", __FILE__, __LINE__) && printf
    6666#else
    6767#define PRINTF3 if (NO)
     
    7171#define PRINTF4 \
    7272     if (verbose >= DEBUGING) \
    73        printf("%s:%d::DEBUG:", __FILE__, __LINE__) && printf
     73       printf("DEBUG::%s:%d:", __FILE__, __LINE__) && printf
    7474#else
    7575#define PRINTF4 if (NO)
  • orxonox/trunk/src/lib/coord/p_node.cc

    r3488 r3511  
    304304void PNode::setParent (PNode* parent)
    305305{
    306   this->parent = parent;
     306  parent->addChild(this);
    307307}
    308308
Note: See TracChangeset for help on using the changeset viewer.