|
Monero
|
Configurations with data types. More...
#include <easylogging++.h>


Private Member Functions | |
| template<typename Conf_T> | |
| Conf_T | getConfigByVal (Level level, const std::unordered_map< Level, Conf_T > *confMap, const char *confName) |
| template<typename Conf_T> | |
| Conf_T & | getConfigByRef (Level level, std::unordered_map< Level, Conf_T > *confMap, const char *confName) |
| template<typename Conf_T> | |
| Conf_T | unsafeGetConfigByVal (Level level, const std::unordered_map< Level, Conf_T > *confMap, const char *confName) |
| template<typename Conf_T> | |
| Conf_T & | unsafeGetConfigByRef (Level level, std::unordered_map< Level, Conf_T > *confMap, const char *confName) |
| template<typename Conf_T> | |
| void | setValue (Level level, const Conf_T &value, std::unordered_map< Level, Conf_T > *confMap, bool includeGlobalLevel=true) |
| void | build (Configurations *configurations) |
| unsigned long | getULong (std::string confVal) |
| std::string | resolveFilename (const std::string &filename) |
| void | insertFile (Level level, const std::string &fullFilename) |
| bool | unsafeValidateFileRolling (Level level, const PreRollOutCallback &preRollOutCallback) |
| bool | validateFileRolling (Level level, const PreRollOutCallback &preRollOutCallback) |
Private Attributes | |
| Configurations * | m_configurations |
| std::unordered_map< Level, bool > | m_enabledMap |
| std::unordered_map< Level, bool > | m_toFileMap |
| std::unordered_map< Level, std::string > | m_filenameMap |
| std::unordered_map< Level, bool > | m_toStandardOutputMap |
| std::unordered_map< Level, base::LogFormat > | m_logFormatMap |
| std::unordered_map< Level, base::SubsecondPrecision > | m_subsecondPrecisionMap |
| std::unordered_map< Level, bool > | m_performanceTrackingMap |
| std::unordered_map< Level, base::FileStreamPtr > | m_fileStreamMap |
| std::unordered_map< Level, std::size_t > | m_maxLogFileSizeMap |
| std::unordered_map< Level, std::size_t > | m_logFlushThresholdMap |
| base::LogStreamsReferenceMap * | m_logStreamsReference |
Friends | |
| class | el::Helpers |
| class | el::base::MessageBuilder |
| class | el::base::Writer |
| class | el::base::DefaultLogDispatchCallback |
| class | el::base::LogDispatcher |
Additional Inherited Members | |
| Protected Member Functions inherited from el::base::threading::ThreadSafe | |
| ThreadSafe (void) | |
| virtual | ~ThreadSafe (void) |
Configurations with data types.
@detail el::Configurations have string based values. This is whats used internally in order to read correct configurations. This is to perform faster while writing logs using correct configurations.
This is thread safe and final class containing non-virtual destructor (means nothing should inherit this class)
| el::base::TypedConfigurations::TypedConfigurations | ( | Configurations * | configurations, |
| base::LogStreamsReferenceMap * | logStreamsReference ) |
Constructor to initialize (construct) the object off el::Configurations.
| configurations | Configurations pointer/reference to base this typed configurations off. |
| logStreamsReference | Use ELPP->registeredLoggers()->logStreamsReference() |
| el::base::TypedConfigurations::TypedConfigurations | ( | const TypedConfigurations & | other | ) |
|
inlinevirtual |
|
private |
|
inline |
| bool el::base::TypedConfigurations::enabled | ( | Level | level | ) |
| base::type::fstream_t * el::base::TypedConfigurations::fileStream | ( | Level | level | ) |
|
inlineprivate |
|
inlineprivate |
|
private |
|
private |
| std::size_t el::base::TypedConfigurations::logFlushThreshold | ( | Level | level | ) |
| const base::LogFormat & el::base::TypedConfigurations::logFormat | ( | Level | level | ) |
| std::size_t el::base::TypedConfigurations::maxLogFileSize | ( | Level | level | ) |
| const base::MillisecondsWidth & el::base::TypedConfigurations::millisecondsWidth | ( | Level | level = Level::Global | ) |
| bool el::base::TypedConfigurations::performanceTracking | ( | Level | level = Level::Global | ) |
|
private |
|
inlineprivate |
| const base::SubsecondPrecision & el::base::TypedConfigurations::subsecondPrecision | ( | Level | level = Level::Global | ) |
| bool el::base::TypedConfigurations::toFile | ( | Level | level | ) |
| bool el::base::TypedConfigurations::toStandardOutput | ( | Level | level | ) |
|
inlineprivate |
|
inlineprivate |
|
private |
|
inlineprivate |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |