Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
el::base::Storage Class Reference

Easylogging++ management storage. More...

#include <easylogging++.h>

Inheritance diagram for el::base::Storage:
Inheritance graph
[legend]

Public Member Functions

void addFlag (LoggingFlag flag)
 
const base::utils::CommandLineArgscommandLineArgs (void) const
 
const std::vector< CustomFormatSpecifier > * customFormatSpecifiers (void) const
 
base::threading::MutexcustomFormatSpecifiersLock ()
 
base::type::EnumType flags (void) const
 
std::string getThreadName (const std::string &threadId)
 
bool hasCustomFormatSpecifier (const char *formatSpecifier)
 
bool hasFlag (LoggingFlag flag) const
 
base::RegisteredHitCountershitCounters (void) const
 
void installCustomFormatSpecifier (const CustomFormatSpecifier &customFormatSpecifier)
 
template<typename T >
bool installLogDispatchCallback (const std::string &id)
 
template<typename T >
T * logDispatchCallback (const std::string &id)
 
PreRollOutCallbackpreRollOutCallback (void)
 
base::RegisteredLoggersregisteredLoggers (void) const
 
void removeFlag (LoggingFlag flag)
 
void setFlags (base::type::EnumType flags)
 
void setLoggingLevel (Level level)
 
void setPreRollOutCallback (const PreRollOutCallback &callback)
 
void setThreadName (const std::string &name)
 Sets thread name for current thread. Requires std::thread. More...
 
 Storage (const LogBuilderPtr &defaultLogBuilder)
 
bool uninstallCustomFormatSpecifier (const char *formatSpecifier)
 
template<typename T >
void uninstallLogDispatchCallback (const std::string &id)
 
void unsetPreRollOutCallback (void)
 
bool validateAfterNCounter (const char *filename, base::type::LineNumber lineNumber, std::size_t n)
 
bool validateEveryNCounter (const char *filename, base::type::LineNumber lineNumber, std::size_t occasion)
 
bool validateNTimesCounter (const char *filename, base::type::LineNumber lineNumber, std::size_t n)
 
base::VRegistryvRegistry (void) const
 
virtual ~Storage (void)
 
- Public Member Functions inherited from el::base::threading::ThreadSafe
virtual void acquireLock (void) ELPP_FINAL
 
virtual base::threading::Mutexlock (void) ELPP_FINAL
 
virtual void releaseLock (void) ELPP_FINAL
 

Private Member Functions

void setApplicationArguments (int argc, char **argv)
 
void setApplicationArguments (int argc, const char **argv)
 
- Private Member Functions inherited from el::base::NoCopy
 NoCopy (void)
 

Private Attributes

base::utils::CommandLineArgs m_commandLineArgs
 
std::vector< CustomFormatSpecifierm_customFormatSpecifiers
 
base::threading::Mutex m_customFormatSpecifiersLock
 
base::type::EnumType m_flags
 
std::unordered_map< std::string, base::type::LogDispatchCallbackPtrm_logDispatchCallbacks
 
Level m_loggingLevel
 
std::unordered_map< std::string, base::type::PerformanceTrackingCallbackPtrm_performanceTrackingCallbacks
 
PreRollOutCallback m_preRollOutCallback
 
base::RegisteredHitCountersm_registeredHitCounters
 
base::RegisteredLoggersm_registeredLoggers
 
std::unordered_map< std::string, std::stringm_threadNames
 
base::threading::Mutex m_threadNamesLock
 
base::VRegistrym_vRegistry
 

Friends

class el::base::DefaultLogDispatchCallback
 
class el::base::LogDispatcher
 
class el::base::MessageBuilder
 
class el::base::PerformanceTracker
 
class el::base::Writer
 
class el::Helpers
 
class el::LogBuilder
 

Additional Inherited Members

- Protected Member Functions inherited from el::base::threading::ThreadSafe
 ThreadSafe (void)
 
virtual ~ThreadSafe (void)
 

Detailed Description

Easylogging++ management storage.

Definition at line 2565 of file easylogging++.h.

Constructor & Destructor Documentation

el::base::Storage::Storage ( const LogBuilderPtr defaultLogBuilder)
explicit

Definition at line 2081 of file easylogging++.cc.

el::base::Storage::~Storage ( void  )
virtual

Definition at line 2126 of file easylogging++.cc.

Member Function Documentation

void el::base::Storage::addFlag ( LoggingFlag  flag)
inline

Definition at line 2617 of file easylogging++.h.

const base::utils::CommandLineArgs* el::base::Storage::commandLineArgs ( void  ) const
inline

Definition at line 2613 of file easylogging++.h.

const std::vector<CustomFormatSpecifier>* el::base::Storage::customFormatSpecifiers ( void  ) const
inline

Definition at line 2653 of file easylogging++.h.

base::threading::Mutex& el::base::Storage::customFormatSpecifiersLock ( )
inline

Definition at line 2657 of file easylogging++.h.

base::type::EnumType el::base::Storage::flags ( void  ) const
inline

Definition at line 2629 of file easylogging++.h.

std::string el::base::Storage::getThreadName ( const std::string threadId)
inline

Definition at line 2705 of file easylogging++.h.

bool el::base::Storage::hasCustomFormatSpecifier ( const char *  formatSpecifier)

Definition at line 2146 of file easylogging++.cc.

bool el::base::Storage::hasFlag ( LoggingFlag  flag) const
inline

Definition at line 2625 of file easylogging++.h.

base::RegisteredHitCounters* el::base::Storage::hitCounters ( void  ) const
inline

Definition at line 2587 of file easylogging++.h.

void el::base::Storage::installCustomFormatSpecifier ( const CustomFormatSpecifier customFormatSpecifier)

Definition at line 2152 of file easylogging++.cc.

template<typename T >
bool el::base::Storage::installLogDispatchCallback ( const std::string id)
inline

Definition at line 2666 of file easylogging++.h.

template<typename T >
T* el::base::Storage::logDispatchCallback ( const std::string id)
inline

Definition at line 2675 of file easylogging++.h.

PreRollOutCallback& el::base::Storage::preRollOutCallback ( void  )
inline

Definition at line 2645 of file easylogging++.h.

base::RegisteredLoggers* el::base::Storage::registeredLoggers ( void  ) const
inline

Definition at line 2591 of file easylogging++.h.

void el::base::Storage::removeFlag ( LoggingFlag  flag)
inline

Definition at line 2621 of file easylogging++.h.

void el::base::Storage::setApplicationArguments ( int  argc,
char **  argv 
)
private

Definition at line 2171 of file easylogging++.cc.

void el::base::Storage::setApplicationArguments ( int  argc,
const char **  argv 
)
inlineprivate

Definition at line 2752 of file easylogging++.h.

void el::base::Storage::setFlags ( base::type::EnumType  flags)
inline

Definition at line 2633 of file easylogging++.h.

void el::base::Storage::setLoggingLevel ( Level  level)
inline

Definition at line 2661 of file easylogging++.h.

void el::base::Storage::setPreRollOutCallback ( const PreRollOutCallback callback)
inline

Definition at line 2637 of file easylogging++.h.

void el::base::Storage::setThreadName ( const std::string name)
inline

Sets thread name for current thread. Requires std::thread.

Definition at line 2699 of file easylogging++.h.

bool el::base::Storage::uninstallCustomFormatSpecifier ( const char *  formatSpecifier)

Definition at line 2160 of file easylogging++.cc.

template<typename T >
void el::base::Storage::uninstallLogDispatchCallback ( const std::string id)
inline

Definition at line 2671 of file easylogging++.h.

void el::base::Storage::unsetPreRollOutCallback ( void  )
inline

Definition at line 2641 of file easylogging++.h.

bool el::base::Storage::validateAfterNCounter ( const char *  filename,
base::type::LineNumber  lineNumber,
std::size_t  n 
)
inline

Definition at line 2579 of file easylogging++.h.

bool el::base::Storage::validateEveryNCounter ( const char *  filename,
base::type::LineNumber  lineNumber,
std::size_t  occasion 
)
inline

Definition at line 2575 of file easylogging++.h.

bool el::base::Storage::validateNTimesCounter ( const char *  filename,
base::type::LineNumber  lineNumber,
std::size_t  n 
)
inline

Definition at line 2583 of file easylogging++.h.

base::VRegistry* el::base::Storage::vRegistry ( void  ) const
inline

Definition at line 2595 of file easylogging++.h.

Friends And Related Function Documentation

Definition at line 2743 of file easylogging++.h.

friend class el::base::LogDispatcher
friend

Definition at line 2748 of file easylogging++.h.

friend class el::base::MessageBuilder
friend

Definition at line 2745 of file easylogging++.h.

friend class el::base::PerformanceTracker
friend

Definition at line 2747 of file easylogging++.h.

friend class el::base::Writer
friend

Definition at line 2746 of file easylogging++.h.

friend class el::Helpers
friend

Definition at line 2742 of file easylogging++.h.

friend class el::LogBuilder
friend

Definition at line 2744 of file easylogging++.h.

Member Data Documentation

base::utils::CommandLineArgs el::base::Storage::m_commandLineArgs
private

Definition at line 2732 of file easylogging++.h.

std::vector<CustomFormatSpecifier> el::base::Storage::m_customFormatSpecifiers
private

Definition at line 2737 of file easylogging++.h.

base::threading::Mutex el::base::Storage::m_customFormatSpecifiersLock
private

Definition at line 2738 of file easylogging++.h.

base::type::EnumType el::base::Storage::m_flags
private

Definition at line 2720 of file easylogging++.h.

std::unordered_map<std::string, base::type::LogDispatchCallbackPtr> el::base::Storage::m_logDispatchCallbacks
private

Definition at line 2734 of file easylogging++.h.

Level el::base::Storage::m_loggingLevel
private

Definition at line 2740 of file easylogging++.h.

std::unordered_map<std::string, base::type::PerformanceTrackingCallbackPtr> el::base::Storage::m_performanceTrackingCallbacks
private

Definition at line 2735 of file easylogging++.h.

PreRollOutCallback el::base::Storage::m_preRollOutCallback
private

Definition at line 2733 of file easylogging++.h.

base::RegisteredHitCounters* el::base::Storage::m_registeredHitCounters
private

Definition at line 2718 of file easylogging++.h.

base::RegisteredLoggers* el::base::Storage::m_registeredLoggers
private

Definition at line 2719 of file easylogging++.h.

std::unordered_map<std::string, std::string> el::base::Storage::m_threadNames
private

Definition at line 2736 of file easylogging++.h.

base::threading::Mutex el::base::Storage::m_threadNamesLock
private

Definition at line 2739 of file easylogging++.h.

base::VRegistry* el::base::Storage::m_vRegistry
private

Definition at line 2721 of file easylogging++.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36