An Overlay-based
Virtual Network Substrate
SpoVNet

Changeset 9748 for source


Ignore:
Timestamp:
Apr 8, 2011, 2:18:28 PM (8 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/logging/Logging.h

    r9741 r9748  
    5050
    5151#ifdef LOGCOLORS
    52   #define colorDefault { std::cout << "\033[0m";  } /*reset*/
     52  #define colorDefault { std::cout << "\033[0m";    } /*reset*/
    5353  #define colorDebug   { std::cout << "\033[0;33m"; } /*cyan*/
    5454  #define colorInfo    { std::cout << "\033[0;32m"; } /*green*/
    5555  #define colorWarn    { std::cout << "\033[0;34m"; } /*blue*/
    5656  #define colorError   { std::cout << "\033[0;31m"; } /*red*/
    57 
    5857#else
    5958  #define colorDefault { }
     
    9998  static int __loglevel__ = 2; //default is info
    10099
    101   #define logging_trace(x)  {            logging_stdout(x);                         }
     100  #define logging_trace(x)  {                                   logging_stdout(x);                }
    102101  #define logging_debug(x)  {if(__loglevel__ <= 1){ colorDebug; logging_stdout(x); colorDefault; }}
    103102  #define logging_info(x)   {if(__loglevel__ <= 2){ colorInfo;  logging_stdout(x); colorDefault; }}
Note: See TracChangeset for help on using the changeset viewer.