Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7755 in orxonox.OLD for branches/network/src/lib


Ignore:
Timestamp:
May 21, 2006, 6:00:12 PM (19 years ago)
Author:
rennerc
Message:

NetworkLog: added NETPRINT() macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_log.h

    r7748 r7755  
    1818/* macro definitions */
    1919#define NETPRINTF(x) NETPRINTF ## x
     20#define NETPRINT(x) NETPRINT ## x
    2021
    2122#define NETPRINTFn NetworkLog::getInstance()->printfn("%s:%d:", __FILE__, __LINE__); NetworkLog::getInstance()->printfn
     
    2627#define NETPRINTF4 NetworkLog::getInstance()->printf4("(DD)::%s:%d:", __FILE__, __LINE__); NetworkLog::getInstance()->printf4
    2728#define NETPRINTF5 NetworkLog::getInstance()->printf5("(VD)::%s:%d:", __FILE__, __LINE__); NetworkLog::getInstance()->printf5
     29
     30#define NETPRINTn NetworkLog::getInstance()->printfn
     31#define NETPRINT0 NetworkLog::getInstance()->printf0
     32#define NETPRINT1 NetworkLog::getInstance()->printf1
     33#define NETPRINT2 NetworkLog::getInstance()->printf2
     34#define NETPRINT3 NetworkLog::getInstance()->printf3
     35#define NETPRINT4 NetworkLog::getInstance()->printf4
     36#define NETPRINT5 NetworkLog::getInstance()->printf5
    2837
    2938//! A default singleton class.
Note: See TracChangeset for help on using the changeset viewer.