log4cplus  2.0.0
Public Member Functions
log4cplus::Initializer Class Reference

This class helps with initialization and shutdown of log4cplus. More...

#include <initializer.h>

List of all members.

Public Member Functions

 Initializer ()
 ~Initializer ()
 Initializer (Initializer const &)
 Initializer (Initializer &&)
Initializeroperator= (Initializer const &)
Initializeroperator= (Initializer &&)

Detailed Description

This class helps with initialization and shutdown of log4cplus.

Its constructor calls `log4cplus::initialize()` and its destructor calls `log4cplus::Logger::shutdown()`. Use this class as the first thing in your `main()`. It will ensure shutdown of log4cplus at the end of `main()`. This is particularly important on Windows, where shutdown of standard threads outside `main()` is impossible.

Definition at line 47 of file initializer.h.


Constructor & Destructor Documentation


Member Function Documentation

Initializer& log4cplus::Initializer::operator= ( Initializer const &  )
Initializer& log4cplus::Initializer::operator= ( Initializer &&  )

The documentation for this class was generated from the following file: