|
libmoost
|
#include <iostream>#include <boost/filesystem.hpp>#include <log4cxx/logger.h>#include <log4cxx/basicconfigurator.h>#include <log4cxx/logmanager.h>#include <log4cxx/propertyconfigurator.h>#include "../utils/singleton.hpp"#include "pseudo_ostream.hpp"#include "../compiler/attributes.hpp"

Go to the source code of this file.
Classes | |
| class | moost::logging::global |
| Initialise the global logging API. More... | |
Namespaces | |
| namespace | moost |
Creates a unique temporary directory; removed on scope exit. | |
| namespace | moost::logging |
Defines | |
| #define | MLOG_INIT() moost::logging::global_singleton::instance().enable(std::string(*argv)) |
| Allow quick and diry initialisation of logging. | |
| #define | MLOG_IS_INITIALISED() |
| Allow quick and dirty checking on intialisation state. | |
Typedefs | |
| typedef moost::utils::singleton_default < global > | moost::logging::global_singleton |
| Singleton instance of global. | |
Functions | |
| moost::logging::constructor__ (init_global_singleton) | |
| Ensure logging is initialised and disabled. | |
| #define MLOG_INIT | ( | ) | moost::logging::global_singleton::instance().enable(std::string(*argv)) |
Allow quick and diry initialisation of logging.
Definition at line 55 of file global.hpp.
| #define MLOG_IS_INITIALISED | ( | ) |
moost::logging::global_singleton::instance().is_configured() && \ moost::logging::global_singleton::instance().is_enabled()
Allow quick and dirty checking on intialisation state.
Definition at line 63 of file global.hpp.