|
|
Sponsor |
Re: How do I check if a LevelPtr is null ?: msg#00017apache.logging.log4cxx.user
On Feb 13, 2007, at 9:52 AM, Steve wrote: I'm running into a problem when I get a logger that is not in my Should just be: if (level == 0) { level == Level::getDebug(); } p.s. your code can be a little more efficient (but deviating from Java style) if written like: LoggerPtr logger(log4cxx::Logger::getLogger("some-logger-name")); LevelPtr level(logger->getLevel());
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How do I check if a LevelPtr is null ?, Steve |
|---|---|
| Next by Date: | Re: How do I check if a LevelPtr is null ?, Steve |
| Previous by Thread: | How do I check if a LevelPtr is null ?, Steve |
| Next by Thread: | Re: How do I check if a LevelPtr is null ?, Steve |
| 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.
|