logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Adding a custom logging level: msg#00072

apache.logging.log4cxx.user

Subject: Re: Adding a custom logging level

Some of the more cryptic comments were copied over from log4j and may or may not apply to log4j If the same comments appear in the log4j source you might search the log4j mailing lists and ask there. There is definitely a more continuous history there. I personally can't tell you what happened in log4cxx more than a few months back.

The unit tests in tests/src/customlogger define an extended Level class (XLevel defined in tests/src/xml/xlevel.h and .cpp) with two additional levels (LETHAL and TRACE).


On Dec 17, 2004, at 4:38 PM, Moul, Russell G wrote:

The documentation states that you can add new levels by subclassing
Level, but eludes to a better way. I didn't see the better way. I've
subclassed Level and am unsure how the DECLARE_LOG4CXX_LEVEL and
IMPLEMENT_LOG4CXX_LEVEL macros are used.

An example of a custom logging level would be great!

Russ





<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo