Ruwan Janapriya wrote:
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
or should it be:
[Mon Apr 28 23:22:08 2008] [debug] [Project XYZ] ..\..\src\tiktak.c(246)
Debug Message Tik Tak Too
?
Samisa...
thanks,
Janapriya
On Wed, Apr 30, 2008 at 4:54 PM, Dinesh Premalal <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Samisa Abeysinghe <[EMAIL PROTECTED] <mailto:[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]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.8/1413 - Release Date: 5/3/2008 11:22 AM
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]