#include "OWBI1_config.h"#include "OWBI1_CommonFwd.hpp"#include "OWBI1_String.hpp"#include "OWBI1_LogLevel.hpp"#include "OWBI1_IntrusiveCountableBase.hpp"#include "OWBI1_Exception.hpp"Include dependency graph for OWBI1_Logger.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | OWBI1 |
Classes | |
| class | OWBI1::LoggerException |
| class | OWBI1::Logger |
| Logging interface. More... | |
Defines | |
| #define | OWBI1_LOGGER_PRETTY_FUNCTION "" |
| #define | OWBI1_LOG_DEBUG(logger, message) |
| Log message to logger with the Debug level. | |
| #define | OWBI1_LOG_INFO(logger, message) |
| Log message to logger with the Info level. | |
| #define | OWBI1_LOG_ERROR(logger, message) |
| Log message to logger with the Error level. | |
| #define | OWBI1_LOG_FATAL_ERROR(logger, message) |
| Log message to logger with the FatalError level. | |
| #define | OWBI1_LOG(logger, category, message) |
| Log message to logger with the specified category. | |
|
|
Value: do \ { \ if ((logger)->categoryIsEnabled((category))) \ { \ (logger)->logMessage((category), (message), __FILE__, __LINE__, OWBI1_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->categoryIsEnabled(category) == true __FILE__ and __LINE__ are logged.
Definition at line 363 of file OWBI1_Logger.hpp. |
|
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OWBI1::E_DEBUG_LEVEL) \ { \ (logger)->logMessage(::OWBI1::Logger::STR_DEBUG_CATEGORY, (message), __FILE__, __LINE__, OWBI1_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->getLogLevel() >= E_DEBUG_LEVEL __FILE__ and __LINE__ are logged.
Definition at line 302 of file OWBI1_Logger.hpp. |
|
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OWBI1::E_ERROR_LEVEL) \ { \ (logger)->logMessage(::OWBI1::Logger::STR_ERROR_CATEGORY, (message), __FILE__, __LINE__, OWBI1_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->getLogLevel() >= E_ERROR_LEVEL __FILE__ and __LINE__ are logged.
Definition at line 332 of file OWBI1_Logger.hpp. |
|
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OWBI1::E_FATAL_ERROR_LEVEL) \ { \ (logger)->logMessage(::OWBI1::Logger::STR_FATAL_CATEGORY, (message), __FILE__, __LINE__, OWBI1_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is always evaluated. __FILE__ and __LINE__ are logged.
Definition at line 347 of file OWBI1_Logger.hpp. |
|
|
Value: do \ { \ if ((logger)->getLogLevel() >= ::OWBI1::E_INFO_LEVEL) \ { \ (logger)->logMessage(::OWBI1::Logger::STR_INFO_CATEGORY, (message), __FILE__, __LINE__, OWBI1_LOGGER_PRETTY_FUNCTION); \ } \ } while (0) message is only evaluated if logger->getLogLevel() >= E_INFO_LEVEL __FILE__ and __LINE__ are logged.
Definition at line 317 of file OWBI1_Logger.hpp. |
|
|
Definition at line 293 of file OWBI1_Logger.hpp. |
1.4.6