Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3201 in orxonox.OLD for orxonox/trunk/src/importer/framework.cc


Ignore:
Timestamp:
Dec 17, 2004, 4:32:01 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk/src/importer: how logging could be

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/importer/framework.cc

    r3196 r3201  
    1515
    1616#include "framework.h"
     17#define PRINTF(x) \
     18        if (verbose = x ) \
     19           printf ("%s:%d:", __FILE__, __LINE__); printf
    1720
    1821
     
    5255int main(int argc, char *argv[])
    5356{
     57
     58  PRINTF(1)("This is The big verbose-Test %i, %s\n", 1, "cool");
     59
    5460  int verbose = 2;
    5561  Uint8* keys; // This variable will be used in the keyboard routine
Note: See TracChangeset for help on using the changeset viewer.