wiki:Documentation/Logging

Version 1 (modified by Christoph Mayer, 14 years ago) ( diff )

--

Logging support

Ariba uses an internal logging system that you are free to use. Depending on the platform, logging goes through log4cxx or directly to std::cout. The Ariba configure script will check for availability of log4cxx on your system and use it if available.

All important definitions can be found in "ariba/utility/logging/Logging.h" To use logging in your application on a per-class basis, perform the following steps:

  • Include the logging header #include "ariba/utility/logging/Logging.h in the header of your class where you want to use logging.
  • Right inside the class definition to the following:

Note: See TracWiki for help on using the wiki.