|
Electroneum
|
Represents a logger holding ID and configurations we need to write logs. More...
#include <easylogging++.h>


Public Member Functions | |
| Logger (const std::string &id, base::LogStreamsReferenceMap *logStreamsReference) | |
| Logger (const std::string &id, const Configurations &configurations, base::LogStreamsReferenceMap *logStreamsReference) | |
| Logger (const Logger &logger) | |
| Logger & | operator= (const Logger &logger) |
| virtual | ~Logger (void) |
| virtual void | log (el::base::type::ostream_t &os) const |
| void | configure (const Configurations &configurations) |
| Configures the logger using specified configurations. More... | |
| void | reconfigure (void) |
| Reconfigures logger using existing configurations. More... | |
| const std::string & | id (void) const |
| const std::string & | parentApplicationName (void) const |
| void | setParentApplicationName (const std::string &parentApplicationName) |
| Configurations * | configurations (void) |
| base::TypedConfigurations * | typedConfigurations (void) |
| void | flush (void) |
| Flushes logger to sync all log files for all levels. More... | |
| void | flush (Level level, base::type::fstream_t *fs) |
| bool | isFlushNeeded (Level level) |
| LogBuilder * | logBuilder (void) const |
| void | setLogBuilder (const LogBuilderPtr &logBuilder) |
| bool | enabled (Level level) const |
Public Member Functions inherited from el::base::threading::ThreadSafe | |
| virtual void | acquireLock (void) ELPP_FINAL |
| virtual void | releaseLock (void) ELPP_FINAL |
| virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
Public Member Functions inherited from el::Loggable | |
| virtual | ~Loggable (void) |
Static Public Member Functions | |
| static bool | isValidId (const std::string &id) |
Friends | |
| class | el::LogMessage |
| class | el::Loggers |
| class | el::Helpers |
| class | el::base::RegisteredLoggers |
| class | el::base::DefaultLogDispatchCallback |
| class | el::base::MessageBuilder |
| class | el::base::Writer |
| class | el::base::PErrorWriter |
| class | el::base::Storage |
| class | el::base::PerformanceTracker |
| class | el::base::LogDispatcher |
Additional Inherited Members | |
Protected Member Functions inherited from el::base::threading::ThreadSafe | |
| ThreadSafe (void) | |
| virtual | ~ThreadSafe (void) |
Represents a logger holding ID and configurations we need to write logs.
@detail This class does not write logs itself instead its used by writer to read configuations from.
Definition at line 2235 of file easylogging++.h.
| el::Logger::Logger | ( | const std::string & | id, |
| base::LogStreamsReferenceMap * | logStreamsReference | ||
| ) |
| el::Logger::Logger | ( | const std::string & | id, |
| const Configurations & | configurations, | ||
| base::LogStreamsReferenceMap * | logStreamsReference | ||
| ) |
| el::Logger::Logger | ( | const Logger & | logger | ) |
|
inlinevirtual |
Definition at line 2242 of file easylogging++.h.
|
inline |
Definition at line 2268 of file easylogging++.h.
| void el::Logger::configure | ( | const Configurations & | configurations | ) |
Configures the logger using specified configurations.
Definition at line 2295 of file easylogging++.h.
| void el::Logger::flush | ( | Level | level, |
| base::type::fstream_t * | fs | ||
| ) |
| void el::Logger::flush | ( | void | ) |
Flushes logger to sync all log files for all levels.
|
inline |
Definition at line 2283 of file easylogging++.h.
|
static |
|
inlinevirtual |
Implements el::Loggable.
Definition at line 2246 of file easylogging++.h.
|
inline |
Definition at line 2287 of file easylogging++.h.
|
inline |
Definition at line 2260 of file easylogging++.h.
| void el::Logger::reconfigure | ( | void | ) |
Reconfigures logger using existing configurations.
|
inline |
Definition at line 2291 of file easylogging++.h.
|
inline |
Definition at line 2264 of file easylogging++.h.
|
inline |
Definition at line 2272 of file easylogging++.h.
|
friend |
Definition at line 2335 of file easylogging++.h.
|
friend |
Definition at line 2341 of file easylogging++.h.
|
friend |
Definition at line 2336 of file easylogging++.h.
|
friend |
Definition at line 2340 of file easylogging++.h.
|
friend |
Definition at line 2338 of file easylogging++.h.
|
friend |
Definition at line 2334 of file easylogging++.h.
|
friend |
Definition at line 2339 of file easylogging++.h.
|
friend |
Definition at line 2337 of file easylogging++.h.
|
friend |
Definition at line 2333 of file easylogging++.h.
|
friend |
Definition at line 2332 of file easylogging++.h.
|
friend |
Definition at line 2331 of file easylogging++.h.