Changeset 7cd9b79 in git for util/xc_trace.h


Ignore:
Timestamp:
2012-11-13T12:30:21Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
667412f
Parents:
8b83b80
Message:

show basename for easier trace log reader

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1174 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • util/xc_trace.h

    r12e8dc0 r7cd9b79  
    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.