|
|
Sponsor |
Re: LOG4CXX_DEBUG macro fails when used in a shared object or .so file gcc: msg#00007apache.logging.log4cxx.user
On Oct 13, 2004, at 1:57 AM, Devender Marri wrote:
The cost of constructing a std::ostringstream is non-trivial and calling logger->debug instead of using LOG4CXX_DEBUG loses the file name and line number (there is a bug report documentation to make that clear). I'd recommend the following: if (logger->isDebugEnabled()) { std::ostringstream outx; string str1 = "this is devender"; outx << str1; int i = 0; outx << i++; LOG4CXX_DEBUG(logger, outx,str()); }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: solaris - log4cxx compilation, Zach Bodnar |
|---|---|
| Next by Date: | Re: solaris - log4cxx compilation, Curt Arnold |
| Previous by Thread: | RE: LOG4CXX_DEBUG macro fails when used in a shared object or .so file gcc, Devender Marri |
| Next by Thread: | solaris - log4cxx compilation, Sebastian Gurgul |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|