Changeset 1174 for trunk/util/xc_trace.h


Ignore:
Timestamp:
2012-11-13T13:30:21+01:00 (23 months ago)
Author:
moo
Message:

show basename for easier trace log reader

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/util/xc_trace.h

    r1044 r1174  
    3333} 
    3434#   else 
     35const char *xc_trace_get_basename(const char *path); 
    3536#       define TRACE(fmt, ...) \ 
    36         xc_trace("%s:%d: " fmt "\r\n", __FILE__, __LINE__, __VA_ARGS__) 
     37        xc_trace("%s:%d: " fmt "\r\n", xc_trace_get_basename(__FILE__), __LINE__, __VA_ARGS__) 
    3738#   endif /* ZEND_WIN32 */ 
    3839#   undef NDEBUG 
Note: See TracChangeset for help on using the changeset viewer.