inc/glxlog.h
changeset 52 a3a4c0de738e
parent 23 74c9f037fd5d
child 72 0a8e959402e5
equal deleted inserted replaced
50:a0f57508af73 52:a3a4c0de738e
    68         // use the module name instead as its the filename without path
    68         // use the module name instead as its the filename without path
    69         #define GLX_DEBUG_STR( cat, str ) __MODULE__ "(%d) : " ##cat " : " ##str
    69         #define GLX_DEBUG_STR( cat, str ) __MODULE__ "(%d) : " ##cat " : " ##str
    70     #else
    70     #else
    71         // put full file paths off for __FILE__ macro to make the log entries shorter
    71         // put full file paths off for __FILE__ macro to make the log entries shorter
    72         #pragma fullpath_file off*/
    72         #pragma fullpath_file off*/
    73         #define GLX_DEBUG_STR( cat, str ) __FILE__ "(%d) : " ##cat " : " ##str
    73         #define GLX_DEBUG_STR( cat, str ) __FILE__ "(%d) : " cat " : " str
    74 //    #endif
    74 //    #endif
    75 
    75 
    76     /**
    76     /**
    77      * Helper macro for defining debug string with filename and linenumber
    77      * Helper macro for defining debug string with filename and linenumber
    78      * @param category the category string for the log entry
    78      * @param category the category string for the log entry