#include <easylogging++.h>
Public Member Functions | |
Configurations * | defaultConfigurations (void) |
void | flushAll (void) |
Logger * | get (const std::string &id, bool forceCreation=true) |
bool | has (const std::string &id) |
template<typename T > | |
bool | installLoggerRegistrationCallback (const std::string &id) |
template<typename T > | |
T * | loggerRegistrationCallback (const std::string &id) |
base::LogStreamsReferenceMap * | logStreamsReference (void) |
RegisteredLoggers (const LogBuilderPtr &defaultLogBuilder) | |
bool | remove (const std::string &id) |
void | setDefaultConfigurations (const Configurations &configurations) |
void | setDefaultLogBuilder (LogBuilderPtr &logBuilderPtr) |
template<typename T > | |
void | uninstallLoggerRegistrationCallback (const std::string &id) |
void | unregister (Logger *&logger) |
virtual | ~RegisteredLoggers (void) |
Public Member Functions inherited from el::base::utils::Registry< Logger, std::string > | |
Registry & | operator= (const Registry &sr) |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More... | |
Registry (void) | |
Registry (const Registry &sr) | |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More... | |
virtual | ~Registry (void) |
Public Member Functions inherited from el::base::utils::AbstractRegistry< Logger, std::unordered_map< std::string, Logger * > > | |
AbstractRegistry (void) | |
Default constructor. More... | |
AbstractRegistry (AbstractRegistry &&sr) | |
Move constructor that is useful for base classes. More... | |
virtual iterator | begin (void) ELPP_FINAL |
virtual const_iterator | cbegin (void) const ELPP_FINAL |
virtual const_iterator | cend (void) const ELPP_FINAL |
virtual bool | empty (void) const ELPP_FINAL |
virtual iterator | end (void) ELPP_FINAL |
virtual std::unordered_map< std::string, Logger * > & | list (void) ELPP_FINAL |
Returns underlying container by reference. More... | |
virtual const std::unordered_map< std::string, Logger * > & | list (void) const ELPP_FINAL |
Returns underlying container by constant reference. More... | |
bool | operator!= (const AbstractRegistry< Logger, std::unordered_map< std::string, Logger * > > &other) |
AbstractRegistry & | operator= (AbstractRegistry &&sr) |
Assignment move operator. More... | |
bool | operator== (const AbstractRegistry< Logger, std::unordered_map< std::string, Logger * > > &other) |
virtual std::size_t | size (void) const ELPP_FINAL |
virtual | ~AbstractRegistry (void) |
Public Member Functions inherited from el::base::threading::ThreadSafe | |
virtual void | acquireLock (void) ELPP_FINAL |
virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
virtual void | releaseLock (void) ELPP_FINAL |
Private Member Functions | |
void | unsafeFlushAll (void) |
Private Attributes | |
Configurations | m_defaultConfigurations |
LogBuilderPtr | m_defaultLogBuilder |
std::unordered_map< std::string, base::type::LoggerRegistrationCallbackPtr > | m_loggerRegistrationCallbacks |
base::LogStreamsReferenceMap | m_logStreamsReference |
Friends | |
class | el::base::Storage |
Loggers repository.
Definition at line 2341 of file easylogging++.h.
|
explicit |
Definition at line 1902 of file easylogging++.cc.
|
inlinevirtual |
Definition at line 2345 of file easylogging++.h.
|
inline |
Definition at line 2354 of file easylogging++.h.
Definition at line 2391 of file easylogging++.h.
Logger * el::base::RegisteredLoggers::get | ( | const std::string & | id, |
bool | forceCreation = true |
||
) |
Definition at line 1907 of file easylogging++.cc.
|
inline |
Definition at line 2378 of file easylogging++.h.
|
inline |
Definition at line 2361 of file easylogging++.h.
|
inline |
Definition at line 2372 of file easylogging++.h.
|
inline |
Definition at line 2387 of file easylogging++.h.
bool el::base::RegisteredLoggers::remove | ( | const std::string & | id | ) |
Definition at line 1931 of file easylogging++.cc.
|
inline |
Definition at line 2349 of file easylogging++.h.
|
inline |
Definition at line 2396 of file easylogging++.h.
|
inline |
Definition at line 2367 of file easylogging++.h.
Definition at line 2382 of file easylogging++.h.
Definition at line 1944 of file easylogging++.cc.
|
friend |
Definition at line 2406 of file easylogging++.h.
|
private |
Definition at line 2403 of file easylogging++.h.
|
private |
Definition at line 2402 of file easylogging++.h.
|
private |
Definition at line 2405 of file easylogging++.h.
|
private |
Definition at line 2404 of file easylogging++.h.