Easylogging++ management storage.
More...
#include <easylogging++.h>
Easylogging++ management storage.
Definition at line 2597 of file easylogging++.h.
◆ Storage()
| el::base::Storage::Storage |
( |
const LogBuilderPtr & |
defaultLogBuilder | ) |
|
|
explicit |
◆ ~Storage()
| virtual el::base::Storage::~Storage |
( |
void |
| ) |
|
|
virtual |
◆ addFlag()
◆ commandLineArgs()
◆ customFormatSpecifiers()
◆ customFormatSpecifiersLock()
◆ flags()
◆ getELPP()
◆ getThreadName()
| std::string el::base::Storage::getThreadName |
( |
const std::string & |
threadId | ) |
|
|
inline |
Definition at line 2729 of file easylogging++.h.
2731 std::unordered_map<std::string, std::string>::const_iterator it = m_threadNames.find(threadId);
2732 if (it == m_threadNames.end()) {
base::threading::internal::ScopedLock< base::threading::Mutex > ScopedLock
◆ hasCustomFormatSpecifier()
| bool el::base::Storage::hasCustomFormatSpecifier |
( |
const char * |
formatSpecifier | ) |
|
◆ hasFlag()
Definition at line 2649 of file easylogging++.h.
2650 return base::utils::hasFlag(flag, m_flags);
◆ hitCounters()
◆ installCustomFormatSpecifier()
| void el::base::Storage::installCustomFormatSpecifier |
( |
const CustomFormatSpecifier & |
customFormatSpecifier | ) |
|
◆ installLogDispatchCallback()
template<typename T >
| bool el::base::Storage::installLogDispatchCallback |
( |
const std::string & |
id | ) |
|
|
inline |
Definition at line 2690 of file easylogging++.h.
2691 return base::utils::Utils::installCallback<T, base::type::LogDispatchCallbackPtr>(id, &m_logDispatchCallbacks);
◆ logDispatchCallback()
template<typename T >
| T* el::base::Storage::logDispatchCallback |
( |
const std::string & |
id | ) |
|
|
inline |
Definition at line 2699 of file easylogging++.h.
2700 return base::utils::Utils::callback<T, base::type::LogDispatchCallbackPtr>(id, &m_logDispatchCallbacks);
◆ preRollOutCallback()
◆ registeredLoggers()
◆ removeFlag()
◆ setFlags()
◆ setLoggingLevel()
| void el::base::Storage::setLoggingLevel |
( |
Level |
level | ) |
|
|
inline |
◆ setPreRollOutCallback()
◆ setThreadName()
| void el::base::Storage::setThreadName |
( |
const std::string & |
name | ) |
|
|
inline |
Sets thread name for current thread. Requires std::thread.
Definition at line 2723 of file easylogging++.h.
2724 if (
name.empty())
return;
2726 m_threadNames[base::threading::getCurrentThreadId()] =
name;
base::threading::internal::ScopedLock< base::threading::Mutex > ScopedLock
◆ uninstallCustomFormatSpecifier()
| bool el::base::Storage::uninstallCustomFormatSpecifier |
( |
const char * |
formatSpecifier | ) |
|
◆ uninstallLogDispatchCallback()
template<typename T >
| void el::base::Storage::uninstallLogDispatchCallback |
( |
const std::string & |
id | ) |
|
|
inline |
Definition at line 2695 of file easylogging++.h.
2696 base::utils::Utils::uninstallCallback<T, base::type::LogDispatchCallbackPtr>(id, &m_logDispatchCallbacks);
◆ unsetPreRollOutCallback()
| void el::base::Storage::unsetPreRollOutCallback |
( |
void |
| ) |
|
|
inline |
Definition at line 2665 of file easylogging++.h.
2666 m_preRollOutCallback = base::defaultPreRollOutCallback;
◆ validateAfterNCounter()
Definition at line 2611 of file easylogging++.h.
base::RegisteredHitCounters * hitCounters(void) const
bool validateAfterN(const char *filename, base::type::LineNumber lineNumber, std::size_t n)
Validates counter for hits >= N, i.e, registers new if does not exist otherwise updates original one...
◆ validateEveryNCounter()
Definition at line 2607 of file easylogging++.h.
base::RegisteredHitCounters * hitCounters(void) const
bool validateEveryN(const char *filename, base::type::LineNumber lineNumber, std::size_t n)
Validates counter for every N, i.e, registers new if does not exist otherwise updates original one...
◆ validateNTimesCounter()
Definition at line 2615 of file easylogging++.h.
base::RegisteredHitCounters * hitCounters(void) const
bool validateNTimes(const char *filename, base::type::LineNumber lineNumber, std::size_t n)
Validates counter for hits are <= n, i.e, registers new if does not exist otherwise updates original ...
◆ vRegistry()
◆ el::base::DefaultLogDispatchCallback
◆ el::base::LogDispatcher
◆ el::base::MessageBuilder
◆ el::base::PerformanceTracker
| friend class el::base::PerformanceTracker |
|
friend |
◆ el::base::Writer
◆ el::Helpers
◆ el::LogBuilder
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/external/easylogging++/easylogging++.h