WDYT on the following? in axis2, #define AXIS2_LOG_DEBUG_MSG(log, msg) AXIS2_LOG_DEBUG (log, AXIS2_LOG_SI, "%s %s", AXIS2_LOG_PROJECT_PREFIX, msg)
in the user project header, #ifdef AXIS2_LOG_PROJECT_PREFIX #undef AXIS2_LOG_PROJECT_PREFIX #endif #define AXIS2_LOG_PROJECT_PREFIX "[Project XYZ]" in the user project source, AXIS2_LOG_DEBUG_MSG(env->log, "Debug Message Tik Tak Too"); the expected output would be, [Mon Apr 28 23:22:08 2008] [debug] ..\..\src\tiktak.c(246) [Project XYZ] Debug Message Tik Tak Too thanks, Janapriya On Wed, Apr 30, 2008 at 4:54 PM, Dinesh Premalal <[EMAIL PROTECTED]> wrote: > Samisa Abeysinghe <[EMAIL PROTECTED]> writes: > > But that does not follow out convention. AXIS2_ is the prefix, and > > LOG_ is the name of the struct. So as per our conventions it has to > > be, AXIS2_LOG_DEBUG_MSG > > I think AXIS2_LOG_DEBUG_MSG is the correct name for that macro. > > thanks, > Dinesh > -- > http://nethu.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
