RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Friends | List of all members
el::base::TypedConfigurations Class Reference

Configurations with data types. More...

#include <easylogging++.h>

Inheritance diagram for el::base::TypedConfigurations:
el::base::threading::ThreadSafe

Public Member Functions

 TypedConfigurations (Configurations *configurations, base::LogStreamsReferenceMap *logStreamsReference)
 Constructor to initialize (construct) the object off el::Configurations. More...
 
 TypedConfigurations (const TypedConfigurations &other)
 
const Configurationsconfigurations (void) const
 
bool enabled (Level level)
 
bool toFile (Level level)
 
const std::string & filename (Level level)
 
bool toStandardOutput (Level level)
 
const base::LogFormatlogFormat (Level level)
 
const base::SubsecondPrecisionsubsecondPrecision (Level level=Level::Global)
 
const base::MillisecondsWidthmillisecondsWidth (Level level=Level::Global)
 
bool performanceTracking (Level level=Level::Global)
 
base::type::fstream_t * fileStream (Level level)
 
std::size_t maxLogFileSize (Level level)
 
std::size_t logFlushThreshold (Level level)
 
- 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
 

Friends

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

Detailed Description

Configurations with data types.

el::Configurations have string based values. This is whats used internally in order to read correct configurations. This is to perform faster while writing logs using correct configurations.

This is thread safe and final class containing non-virtual destructor (means nothing should inherit this class)

Constructor & Destructor Documentation

el::base::TypedConfigurations::TypedConfigurations ( Configurations configurations,
base::LogStreamsReferenceMap *  logStreamsReference 
)

Constructor to initialize (construct) the object off el::Configurations.

Parameters
configurationsConfigurations pointer/reference to base this typed configurations off.
logStreamsReferenceUse ELPP->registeredLoggers()->logStreamsReference()

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