ifw  0.0.1-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
el::base::RegisteredLoggers Class Reference

Loggers repository. More...

#include <easylogging++.h>

Inheritance diagram for el::base::RegisteredLoggers:
el::base::utils::Registry< Logger, std::string > el::base::utils::Registry< Logger, std::string > el::base::utils::Registry< Logger, std::string > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > >

Public Member Functions

 RegisteredLoggers (const LogBuilderPtr &defaultLogBuilder)
 
virtual ~RegisteredLoggers (void)
 
void setDefaultConfigurations (const Configurations &configurations)
 
ConfigurationsdefaultConfigurations (void)
 
Loggerget (const std::string &id, bool forceCreation=true)
 
bool remove (const std::string &id)
 
bool has (const std::string &id)
 
void unregister (Logger *&logger)
 
base::LogStreamsReferenceMaplogStreamsReference (void)
 
void flushAll (void)
 
 RegisteredLoggers (const LogBuilderPtr &defaultLogBuilder)
 
virtual ~RegisteredLoggers (void)
 
void setDefaultConfigurations (const Configurations &configurations)
 
ConfigurationsdefaultConfigurations (void)
 
Loggerget (const std::string &id, bool forceCreation=true)
 
bool remove (const std::string &id)
 
bool has (const std::string &id)
 
void unregister (Logger *&logger)
 
base::LogStreamsReferenceMaplogStreamsReference (void)
 
void flushAll (void)
 
 RegisteredLoggers (const LogBuilderPtr &defaultLogBuilder)
 
virtual ~RegisteredLoggers (void)
 
void setDefaultConfigurations (const Configurations &configurations)
 
ConfigurationsdefaultConfigurations (void)
 
Loggerget (const std::string &id, bool forceCreation=true)
 
bool remove (const std::string &id)
 
bool has (const std::string &id)
 
void unregister (Logger *&logger)
 
base::LogStreamsReferenceMaplogStreamsReference (void)
 
void flushAll (void)
 
- Public Member Functions inherited from el::base::utils::Registry< Logger, std::string >
 Registry (void)
 
 Registry (const Registry &sr)
 Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
 
 Registry (void)
 
 Registry (const Registry &sr)
 Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
 
 Registry (void)
 
 Registry (const Registry &sr)
 Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
 
Registryoperator= (const Registry &sr)
 Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
 
Registryoperator= (const Registry &sr)
 Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
 
Registryoperator= (const Registry &sr)
 Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
 
virtual ~Registry (void)
 
virtual ~Registry (void)
 
virtual ~Registry (void)
 
- Public Member Functions inherited from el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > >
 AbstractRegistry (void)
 Default constructor. More...
 
 AbstractRegistry (AbstractRegistry &&sr)
 Move constructor that is useful for base classes. More...
 
 AbstractRegistry (void)
 Default constructor. More...
 
 AbstractRegistry (AbstractRegistry &&sr)
 Move constructor that is useful for base classes. More...
 
 AbstractRegistry (void)
 Default constructor. More...
 
 AbstractRegistry (AbstractRegistry &&sr)
 Move constructor that is useful for base classes. More...
 
bool operator== (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other)
 
bool operator== (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other)
 
bool operator== (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other)
 
bool operator!= (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other)
 
bool operator!= (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other)
 
bool operator!= (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other)
 
AbstractRegistryoperator= (AbstractRegistry &&sr)
 Assignment move operator. More...
 
AbstractRegistryoperator= (AbstractRegistry &&sr)
 Assignment move operator. More...
 
AbstractRegistryoperator= (AbstractRegistry &&sr)
 Assignment move operator. More...
 
virtual ~AbstractRegistry (void)
 
virtual ~AbstractRegistry (void)
 
virtual ~AbstractRegistry (void)
 
virtual iterator begin (void) ELPP_FINAL
 
virtual iterator begin (void) ELPP_FINAL
 
virtual iterator begin (void) ELPP_FINAL
 
virtual iterator end (void) ELPP_FINAL
 
virtual iterator end (void) ELPP_FINAL
 
virtual iterator end (void) ELPP_FINAL
 
virtual const_iterator cbegin (void) const ELPP_FINAL
 
virtual const_iterator cbegin (void) const ELPP_FINAL
 
virtual const_iterator cbegin (void) const ELPP_FINAL
 
virtual const_iterator cend (void) const ELPP_FINAL
 
virtual const_iterator cend (void) const ELPP_FINAL
 
virtual const_iterator cend (void) const ELPP_FINAL
 
virtual bool empty (void) const ELPP_FINAL
 
virtual bool empty (void) const ELPP_FINAL
 
virtual bool empty (void) const ELPP_FINAL
 
virtual std::size_t size (void) const ELPP_FINAL
 
virtual std::size_t size (void) const ELPP_FINAL
 
virtual std::size_t size (void) const ELPP_FINAL
 
virtual std::map< std::string,
Logger * > & 
list (void) ELPP_FINAL
 Returns underlying container by reference. More...
 
virtual const std::map
< std::string, Logger * > & 
list (void) const ELPP_FINAL
 Returns underlying container by constant reference. More...
 
virtual std::map< std::string,
Logger * > & 
list (void) ELPP_FINAL
 Returns underlying container by reference. More...
 
virtual const std::map
< std::string, Logger * > & 
list (void) const ELPP_FINAL
 Returns underlying container by constant reference. More...
 
virtual std::map< std::string,
Logger * > & 
list (void) ELPP_FINAL
 Returns underlying container by reference. More...
 
virtual const std::map
< std::string, Logger * > & 
list (void) const ELPP_FINAL
 Returns underlying container by constant reference. More...
 
- Public Member Functions inherited from el::base::threading::ThreadSafe
virtual void acquireLock (void) ELPP_FINAL
 
virtual void releaseLock (void) ELPP_FINAL
 
virtual base::threading::Mutexlock (void) ELPP_FINAL
 
virtual void acquireLock (void) ELPP_FINAL
 
virtual void releaseLock (void) ELPP_FINAL
 
virtual base::threading::Mutexlock (void) ELPP_FINAL
 
virtual void acquireLock (void) ELPP_FINAL
 
virtual void releaseLock (void) ELPP_FINAL
 
virtual base::threading::Mutexlock (void) ELPP_FINAL
 

Friends

class el::base::Storage
 

Additional Inherited Members

- Public Types inherited from el::base::utils::Registry< Logger, std::string >
typedef Registry< Logger,
std::string >::iterator 
iterator
 
typedef Registry< Logger,
std::string >::iterator 
iterator
 
typedef Registry< Logger,
std::string >::iterator 
iterator
 
typedef Registry< Logger,
std::string >::const_iterator 
const_iterator
 
typedef Registry< Logger,
std::string >::const_iterator 
const_iterator
 
typedef Registry< Logger,
std::string >::const_iterator 
const_iterator
 
- Public Types inherited from el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > >
typedef std::map< std::string,
Logger * >::iterator 
iterator
 
typedef std::map< std::string,
Logger * >::iterator 
iterator
 
typedef std::map< std::string,
Logger * >::iterator 
iterator
 
typedef std::map< std::string,
Logger * >::const_iterator 
const_iterator
 
typedef std::map< std::string,
Logger * >::const_iterator 
const_iterator
 
typedef std::map< std::string,
Logger * >::const_iterator 
const_iterator
 
- Protected Member Functions inherited from el::base::utils::Registry< Logger, std::string >
virtual void unregisterAll (void) ELPP_FINAL
 Unregisters all the pointers from current repository. More...
 
virtual void unregisterAll (void) ELPP_FINAL
 Unregisters all the pointers from current repository. More...
 
virtual void unregisterAll (void) ELPP_FINAL
 Unregisters all the pointers from current repository. More...
 
virtual void registerNew (const std::string &uniqKey, Logger *ptr) ELPP_FINAL
 Registers new registry to repository. More...
 
virtual void registerNew (const std::string &uniqKey, Logger *ptr) ELPP_FINAL
 Registers new registry to repository. More...
 
virtual void registerNew (const std::string &uniqKey, Logger *ptr) ELPP_FINAL
 Registers new registry to repository. More...
 
void unregister (const std::string &uniqKey)
 Unregisters single entry mapped to specified unique key. More...
 
void unregister (const std::string &uniqKey)
 Unregisters single entry mapped to specified unique key. More...
 
void unregister (const std::string &uniqKey)
 Unregisters single entry mapped to specified unique key. More...
 
Loggerget (const std::string &uniqKey)
 Gets pointer from repository. If none found, nullptr is returned. More...
 
Loggerget (const std::string &uniqKey)
 Gets pointer from repository. If none found, nullptr is returned. More...
 
Loggerget (const std::string &uniqKey)
 Gets pointer from repository. If none found, nullptr is returned. More...
 
- Protected Member Functions inherited from el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > >
virtual void deepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &)=0
 
virtual void deepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &)=0
 
virtual void deepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &)=0
 
void reinitDeepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &sr)
 
void reinitDeepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &sr)
 
void reinitDeepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &sr)
 
- Protected Member Functions inherited from el::base::threading::ThreadSafe
 ThreadSafe (void)
 
virtual ~ThreadSafe (void)
 
 ThreadSafe (void)
 
virtual ~ThreadSafe (void)
 
 ThreadSafe (void)
 
virtual ~ThreadSafe (void)
 

Detailed Description

Loggers repository.

Constructor & Destructor Documentation

el::base::RegisteredLoggers::RegisteredLoggers ( const LogBuilderPtr defaultLogBuilder)
inlineexplicit
virtual el::base::RegisteredLoggers::~RegisteredLoggers ( void  )
inlinevirtual
el::base::RegisteredLoggers::RegisteredLoggers ( const LogBuilderPtr defaultLogBuilder)
inlineexplicit
virtual el::base::RegisteredLoggers::~RegisteredLoggers ( void  )
inlinevirtual
el::base::RegisteredLoggers::RegisteredLoggers ( const LogBuilderPtr defaultLogBuilder)
inlineexplicit
virtual el::base::RegisteredLoggers::~RegisteredLoggers ( void  )
inlinevirtual

Member Function Documentation

Configurations* el::base::RegisteredLoggers::defaultConfigurations ( void  )
inline
Configurations* el::base::RegisteredLoggers::defaultConfigurations ( void  )
inline
Configurations* el::base::RegisteredLoggers::defaultConfigurations ( void  )
inline
void el::base::RegisteredLoggers::flushAll ( void  )
inline
void el::base::RegisteredLoggers::flushAll ( void  )
inline
void el::base::RegisteredLoggers::flushAll ( void  )
inline
Logger* el::base::RegisteredLoggers::get ( const std::string &  id,
bool  forceCreation = true 
)
inline
Logger* el::base::RegisteredLoggers::get ( const std::string &  id,
bool  forceCreation = true 
)
inline
Logger* el::base::RegisteredLoggers::get ( const std::string &  id,
bool  forceCreation = true 
)
inline
bool el::base::RegisteredLoggers::has ( const std::string &  id)
inline
bool el::base::RegisteredLoggers::has ( const std::string &  id)
inline
bool el::base::RegisteredLoggers::has ( const std::string &  id)
inline
base::LogStreamsReferenceMap* el::base::RegisteredLoggers::logStreamsReference ( void  )
inline
base::LogStreamsReferenceMap* el::base::RegisteredLoggers::logStreamsReference ( void  )
inline
base::LogStreamsReferenceMap* el::base::RegisteredLoggers::logStreamsReference ( void  )
inline
bool el::base::RegisteredLoggers::remove ( const std::string &  id)
inline
bool el::base::RegisteredLoggers::remove ( const std::string &  id)
inline
bool el::base::RegisteredLoggers::remove ( const std::string &  id)
inline
void el::base::RegisteredLoggers::setDefaultConfigurations ( const Configurations configurations)
inline
void el::base::RegisteredLoggers::setDefaultConfigurations ( const Configurations configurations)
inline
void el::base::RegisteredLoggers::setDefaultConfigurations ( const Configurations configurations)
inline
void el::base::RegisteredLoggers::unregister ( Logger *&  logger)
inline
void el::base::RegisteredLoggers::unregister ( Logger *&  logger)
inline
void el::base::RegisteredLoggers::unregister ( Logger *&  logger)
inline

Friends And Related Function Documentation


The documentation for this class was generated from the following files: