Changeset 48:35090bb52026 in rrlib_logging


Ignore:
Timestamp:
06.01.2011 16:11:51 (10 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Phase:
public
Convert:
svn:2179b62a-598e-4714-ba03-d8986cbf34aa/trunk@49
Message:

Added RRLIB_DEFAULT_LOG_DOMAIN makro to fix the name-clash problem with using namespace directives.
Maybe it's a feature...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • definitions.h

    r47 r48  
    103103// Macros for internal use 
    104104//---------------------------------------------------------------------- 
     105#define RRLIB_DEFAULT_LOG_DOMAIN_NAME default_log 
     106 
    105107#define RRLIB_LOG_GET_DOMAIN_I(domain...) \ 
    106   rrlib::logging::GetLogDomain(default_log, ## domain) \ 
     108  rrlib::logging::GetLogDomain(RRLIB_DEFAULT_LOG_DOMAIN_NAME, ## domain) \ 
    107109    
    108110#define RRLIB_LOG_GET_DOMAIN(domain, args...) \ 
Note: See TracChangeset for help on using the changeset viewer.