Loggers repository.
More...
#include <easylogging++.h>
Loggers repository.
Definition at line 2369 of file easylogging++.h.
◆ RegisteredLoggers()
| el::base::RegisteredLoggers::RegisteredLoggers |
( |
const LogBuilderPtr & | defaultLogBuilder | ) |
|
|
explicit |
◆ ~RegisteredLoggers()
| virtual el::base::RegisteredLoggers::~RegisteredLoggers |
( |
void | | ) |
|
|
inlinevirtual |
◆ defaultConfigurations()
| Configurations * el::base::RegisteredLoggers::defaultConfigurations |
( |
void | | ) |
|
|
inline |
Definition at line 2382 of file easylogging++.h.
2382 {
2383 return &m_defaultConfigurations;
2384 }
◆ flushAll()
| void el::base::RegisteredLoggers::flushAll |
( |
void | | ) |
|
|
inline |
Definition at line 2419 of file easylogging++.h.
2419 {
2421 unsafeFlushAll();
2422 }
virtual base::threading::Mutex & lock(void) ELPP_FINAL
base::threading::internal::ScopedLock< base::threading::Mutex > ScopedLock
◆ get()
| Logger * el::base::RegisteredLoggers::get |
( |
const std::string & | id, |
|
|
bool | forceCreation = true ) |
◆ has()
| bool el::base::RegisteredLoggers::has |
( |
const std::string & | id | ) |
|
|
inline |
Definition at line 2406 of file easylogging++.h.
2406 {
2407 return get(
id,
false) !=
nullptr;
2408 }
Logger * get(const std::string &id, bool forceCreation=true)
◆ installLoggerRegistrationCallback()
| bool el::base::RegisteredLoggers::installLoggerRegistrationCallback |
( |
const std::string & | id | ) |
|
|
inline |
Definition at line 2389 of file easylogging++.h.
2389 {
2391 &m_loggerRegistrationCallbacks);
2392 }
static bool installCallback(const std::string &id, std::unordered_map< std::string, TPtr > *mapT)
◆ loggerRegistrationCallback()
| T * el::base::RegisteredLoggers::loggerRegistrationCallback |
( |
const std::string & | id | ) |
|
|
inline |
Definition at line 2400 of file easylogging++.h.
2400 {
2402 }
static T * callback(const std::string &id, std::unordered_map< std::string, TPtr > *mapT)
◆ logStreamsReference()
Definition at line 2415 of file easylogging++.h.
2415 {
2416 return &m_logStreamsReference;
2417 }
◆ remove()
| bool el::base::RegisteredLoggers::remove |
( |
const std::string & | id | ) |
|
◆ setDefaultConfigurations()
| void el::base::RegisteredLoggers::setDefaultConfigurations |
( |
const Configurations & | configurations | ) |
|
|
inline |
Definition at line 2377 of file easylogging++.h.
2377 {
2379 m_defaultConfigurations.setFromBase(const_cast<Configurations*>(&configurations));
2380 }
◆ setDefaultLogBuilder()
| void el::base::RegisteredLoggers::setDefaultLogBuilder |
( |
LogBuilderPtr & | logBuilderPtr | ) |
|
|
inline |
Definition at line 2424 of file easylogging++.h.
2424 {
2426 m_defaultLogBuilder = logBuilderPtr;
2427 }
◆ uninstallLoggerRegistrationCallback()
| void el::base::RegisteredLoggers::uninstallLoggerRegistrationCallback |
( |
const std::string & | id | ) |
|
|
inline |
Definition at line 2395 of file easylogging++.h.
2395 {
2397 }
static void uninstallCallback(const std::string &id, std::unordered_map< std::string, TPtr > *mapT)
◆ unregister()
| void el::base::RegisteredLoggers::unregister |
( |
Logger *& | logger | ) |
|
|
inline |
Definition at line 2410 of file easylogging++.h.
2410 {
2413 }
void unregister(const T_Key &uniqKey)
Unregisters single entry mapped to specified unique key.
◆ el::base::Storage
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/easylogging++/easylogging++.h