|
Monero
|
#include "ea_config.h"#include <climits>#include <ctime>#include <cstring>#include <cstdlib>#include <cctype>#include <cwchar>#include <csignal>#include <cerrno>#include <cstdarg>#include <string>#include <vector>#include <map>#include <unordered_map>#include <utility>#include <functional>#include <algorithm>#include <fstream>#include <iostream>#include <sstream>#include <memory>#include <type_traits>

Go to the source code of this file.
Classes | |
| class | el::base::NoCopy |
| Internal helper class that prevent copy constructor for class. More... | |
| class | el::base::StaticClass |
| Internal helper class that makes all default constructors private. More... | |
| struct | std::hash< el::Level > |
| class | el::LevelHelper |
| Static class that contains helper functions for el::Level. More... | |
| class | el::ConfigurationTypeHelper |
| Static class that contains helper functions for el::ConfigurationType. More... | |
| class | el::base::SubsecondPrecision |
| A subsecond precision class containing actual width and offset of the subsecond part. More... | |
| class | el::base::threading::internal::NoMutex |
| Mutex wrapper used when multi-threading is disabled. More... | |
| class | el::base::threading::internal::NoScopedLock< Mutex > |
| Lock guard wrapper used when multi-threading is disabled. More... | |
| class | el::base::threading::ThreadSafe |
| Base of thread safe class, this class is inheritable-only. More... | |
| class | el::base::utils::File |
| class | el::base::utils::Str |
| String utilities helper class used internally. You should not use it. More... | |
| class | el::base::utils::OS |
| Operating System helper static class used internally. You should not use it. More... | |
| class | el::base::utils::DateTime |
| Contains utilities for cross-platform date/time. This class make use of el::base::utils::Str. More... | |
| class | el::base::utils::CommandLineArgs |
| Command line arguments for application if specified using el::Helpers::setArgs(..) or START_EASYLOGGINGPP(..). More... | |
| class | el::base::utils::AbstractRegistry< T_Ptr, Container > |
| Abstract registry (aka repository) that provides basic interface for pointer repository specified by T_Ptr type. More... | |
| class | el::base::utils::Registry< T_Ptr, T_Key > |
| A pointer registry mechanism to manage memory and provide search functionalities. (non-predicate version). More... | |
| class | el::base::utils::RegistryWithPred< T_Ptr, Pred > |
| A pointer registry mechanism to manage memory and provide search functionalities. (predicate version). More... | |
| class | el::base::utils::Utils |
| class | el::Loggable |
| Base of Easylogging++ friendly class. More... | |
| class | el::base::LogFormat |
| Represents log format containing flags and date format. This is used internally to start initial log. More... | |
| class | el::CustomFormatSpecifier |
| User-provided custom format specifier. More... | |
| class | el::Configuration |
| Represents single configuration that has representing level, configuration type and a string based value. More... | |
| class | el::Configuration::Predicate |
| Used to find configuration from configuration (pointers) repository. Avoid using it. More... | |
| class | el::Configurations |
| Thread-safe Configuration repository. More... | |
| class | el::Configurations::Parser |
| Parser used internally to parse configurations from file or text. More... | |
| class | el::base::TypedConfigurations |
| Configurations with data types. More... | |
| class | el::base::HitCounter |
| Class that keeps record of current line hit for occasional logging. More... | |
| class | el::base::HitCounter::Predicate |
| class | el::base::RegisteredHitCounters |
| Repository for hit counters used across the application. More... | |
| class | el::Callback< T > |
| class | el::LogDispatchData |
| class | el::LogDispatchCallback |
| class | el::PerformanceTrackingCallback |
| class | el::LoggerRegistrationCallback |
| class | el::LogBuilder |
| class | el::Logger |
| Represents a logger holding ID and configurations we need to write logs. More... | |
| class | el::base::RegisteredLoggers |
| Loggers repository. More... | |
| class | el::base::VRegistry |
| Represents registries for verbose logging. More... | |
| class | el::LogMessage |
| class | el::base::Storage |
| Easylogging++ management storage. More... | |
| class | el::base::DefaultLogDispatchCallback |
| class | el::base::DefaultLogBuilder |
| class | el::base::LogDispatcher |
| Dispatches log messages. More... | |
| class | el::base::MessageBuilder |
| class | el::base::NullWriter |
| Writes nothing - Used when certain log is disabled. More... | |
| class | el::base::Writer |
| Main entry point of each logging. More... | |
| class | el::base::PErrorWriter |
| class | el::base::debug::CrashHandler |
| class | el::SysLogInitializer |
| Initializes syslog with process ID, options and facility. calls closelog() on d'tor. More... | |
| class | el::Helpers |
| Static helpers for developers. More... | |
| class | el::Loggers |
| Static helpers to deal with loggers and their configurations. More... | |
| class | el::Loggers::ScopedAddFlag |
| Adds flag and removes it when scope goes out. More... | |
| class | el::Loggers::ScopedRemoveFlag |
| Removes flag and add it when scope goes out. More... | |
| class | el::VersionInfo |
Namespaces | |
| namespace | el |
| Easylogging++ entry namespace. | |
| namespace | el::base |
| Namespace containing base/internal functionality used by Easylogging++. | |
| namespace | el::base::type |
| Data types used by Easylogging++. | |
| namespace | std |
| namespace | el::base::consts |
| Namespace containing constants used internally. | |
| namespace | el::base::utils |
| Namespace containing utility functions/static classes used internally. | |
| namespace | el::base::utils::bitwise |
| Bitwise operations for C++11 strong enum class. This casts e into Flag_T and returns value after bitwise operation Use these function as. | |
| namespace | el::base::threading |
| namespace | el::base::threading::internal |
| namespace | el::base::debug |
| Contains some internal debugging tools like crash handler and stack tracer. | |
Macros | |
| #define | ELPP_COMPILER_GCC 0 |
| #define | ELPP_COMPILER_MSVC 0 |
| #define | ELPP_CRT_DBG_WARNINGS ELPP_COMPILER_MSVC |
| #define | ELPP_COMPILER_CLANG 0 |
| #define | ELPP_MINGW 0 |
| #define | ELPP_CYGWIN 0 |
| #define | ELPP_COMPILER_INTEL 0 |
| #define | ELPP_OS_WINDOWS 0 |
| #define | ELPP_OS_LINUX 0 |
| #define | ELPP_OS_MAC 0 |
| #define | ELPP_OS_FREEBSD 0 |
| #define | ELPP_OS_OPENBSD 0 |
| #define | ELPP_OS_NETBSD 0 |
| #define | ELPP_OS_SOLARIS 0 |
| #define | ELPP_OS_AIX 0 |
| #define | ELPP_OS_NETBSD 0 |
| #define | ELPP_OS_EMSCRIPTEN 0 |
| #define | ELPP_OS_DRAGONFLY 0 |
| #define | ELPP_OS_UNIX 0 |
| #define | ELPP_OS_ANDROID 0 |
| #define | ELPP_INTERNAL_DEBUGGING_OUT_INFO std::cout |
| #define | ELPP_INTERNAL_DEBUGGING_OUT_ERROR std::cerr |
| #define | ELPP_INTERNAL_DEBUGGING_ENDL std::endl |
| #define | ELPP_INTERNAL_DEBUGGING_MSG(msg) |
| #define | ELPP_ASSERT(expr, msg) |
| #define | ELPP_INTERNAL_DEBUGGING_WRITE_PERROR ELPP_INTERNAL_DEBUGGING_OUT_ERROR << ": " << strerror(errno) << " [" << errno << "]"; (void)0 |
| #define | ELPP_INTERNAL_ERROR(msg, pe) |
| #define | ELPP_INTERNAL_INFO(lvl, msg) |
| #define | ELPP_STACKTRACE 0 |
| #define | ELPP_UNUSED(x) |
| #define | ELPP_EXPORT |
| #define | STRTOK(a, b, c) |
| #define | STRERROR(a, b, c) |
| #define | STRCAT(a, b, len) |
| #define | STRCPY(a, b, len) |
| #define | ELPP_USE_STD_THREADING 0 |
| #define | ELPP_FINAL |
| #define | ELPP_ASYNC_LOGGING 0 |
| #define | ELPP_THREADING_ENABLED 1 |
| #define | ELPP_FUNC "" |
| #define | ELPP_VARIADIC_TEMPLATES_SUPPORTED (ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800)) |
| #define | ELPP_LOGGING_ENABLED 1 |
| #define | ELPP_DEBUG_LOG 0 |
| #define | ELPP_INFO_LOG 0 |
| #define | ELPP_WARNING_LOG 0 |
| #define | ELPP_ERROR_LOG 0 |
| #define | ELPP_FATAL_LOG 0 |
| #define | ELPP_TRACE_LOG 0 |
| #define | ELPP_VERBOSE_LOG 0 |
| #define | elpptime_r gmtime_r |
| #define | elpptime_s gmtime_s |
| #define | elpptime gmtime |
| #define | ELPP_LITERAL(txt) |
| #define | ELPP_STRLEN strlen |
| #define | ELPP_COUT std::cout |
| #define | ELPP_COUT_LINE(logLine) |
| #define | ELPP el::base::Storage::getELPP() |
| #define | ELPP_SIMPLE_LOG(LOG_TYPE) |
| #define | ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG(temp) |
| #define | ELPP_ITERATOR_CONTAINER_LOG_TWO_ARG(temp) |
| #define | ELPP_ITERATOR_CONTAINER_LOG_THREE_ARG(temp) |
| #define | ELPP_ITERATOR_CONTAINER_LOG_FOUR_ARG(temp) |
| #define | ELPP_ITERATOR_CONTAINER_LOG_FIVE_ARG(temp) |
| #define | MAKE_CONTAINERELPP_FRIENDLY(ContainerType, SizeMethod, ElementInstance) |
| Macro used internally that can be used externally to make containers easylogging++ friendly. | |
| #define | ELPP_WX_PTR_ENABLED(ContainerType) |
| #define | ELPP_WX_ENABLED(ContainerType) |
| #define | ELPP_WX_HASH_MAP_ENABLED(ContainerType) |
| #define | el_getVALength(...) |
| #define | el_resolveVALength(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) |
| #define | ELPP_WRITE_LOG(writer, level, dispatchAction, ...) |
| #define | ELPP_WRITE_LOG_IF(writer, condition, level, dispatchAction, ...) |
| #define | ELPP_WRITE_LOG_EVERY_N(writer, occasion, level, dispatchAction, ...) |
| #define | ELPP_WRITE_LOG_AFTER_N(writer, n, level, dispatchAction, ...) |
| #define | ELPP_WRITE_LOG_N_TIMES(writer, n, level, dispatchAction, ...) |
| #define | MAKE_LOGGABLE(ClassType, ClassInstance, OutputStreamInstance) |
| #define | ELPP_INITIALIZE_SYSLOG(id, opt, fac) |
| #define | VLOG_IS_ON(verboseLevel) |
| Determines whether verbose logging is on for specified level current file. | |
| #define | ELPP_MIN_UNIT el::base::TimestampUnit::Millisecond |
| #define | TIMED_SCOPE_IF(obj, blockname, condition) |
| Performance tracked scope. Performance gets written when goes out of scope using 'performance' logger. | |
| #define | TIMED_SCOPE(obj, blockname) |
| #define | TIMED_BLOCK(obj, blockName) |
| #define | TIMED_FUNC_IF(obj, condition) |
| Performance tracked function. Performance gets written when goes out of scope using 'performance' logger. | |
| #define | TIMED_FUNC(obj) |
| #define | PERFORMANCE_CHECKPOINT(obj) |
| #define | PERFORMANCE_CHECKPOINT_WITH_ID(obj, id) |
| #define | ELPP_COUNTER (ELPP->hitCounters()->getCounter(__FILE__, __LINE__)) |
| Gets hit counter for file/line. | |
| #define | ELPP_COUNTER_POS (ELPP_COUNTER == nullptr ? -1 : ELPP_COUNTER->hitCounts()) |
| Gets hit counter position for file/line, -1 if not registered yet. | |
| #define | CINFO(writer, dispatchAction, ...) |
| #define | CWARNING(writer, dispatchAction, ...) |
| #define | CDEBUG(writer, dispatchAction, ...) |
| #define | CERROR(writer, dispatchAction, ...) |
| #define | CFATAL(writer, dispatchAction, ...) |
| #define | CTRACE(writer, dispatchAction, ...) |
| #define | CVERBOSE(writer, vlevel, dispatchAction, ...) |
| #define | CINFO_IF(writer, condition_, dispatchAction, ...) |
| #define | CWARNING_IF(writer, condition_, dispatchAction, ...) |
| #define | CDEBUG_IF(writer, condition_, dispatchAction, ...) |
| #define | CERROR_IF(writer, condition_, dispatchAction, ...) |
| #define | CFATAL_IF(writer, condition_, dispatchAction, ...) |
| #define | CTRACE_IF(writer, condition_, dispatchAction, ...) |
| #define | CVERBOSE_IF(writer, condition_, vlevel, dispatchAction, ...) |
| #define | CINFO_EVERY_N(writer, occasion, dispatchAction, ...) |
| #define | CWARNING_EVERY_N(writer, occasion, dispatchAction, ...) |
| #define | CDEBUG_EVERY_N(writer, occasion, dispatchAction, ...) |
| #define | CERROR_EVERY_N(writer, occasion, dispatchAction, ...) |
| #define | CFATAL_EVERY_N(writer, occasion, dispatchAction, ...) |
| #define | CTRACE_EVERY_N(writer, occasion, dispatchAction, ...) |
| #define | CVERBOSE_EVERY_N(writer, occasion, vlevel, dispatchAction, ...) |
| #define | CINFO_AFTER_N(writer, n, dispatchAction, ...) |
| #define | CWARNING_AFTER_N(writer, n, dispatchAction, ...) |
| #define | CDEBUG_AFTER_N(writer, n, dispatchAction, ...) |
| #define | CERROR_AFTER_N(writer, n, dispatchAction, ...) |
| #define | CFATAL_AFTER_N(writer, n, dispatchAction, ...) |
| #define | CTRACE_AFTER_N(writer, n, dispatchAction, ...) |
| #define | CVERBOSE_AFTER_N(writer, n, vlevel, dispatchAction, ...) |
| #define | CINFO_N_TIMES(writer, n, dispatchAction, ...) |
| #define | CWARNING_N_TIMES(writer, n, dispatchAction, ...) |
| #define | CDEBUG_N_TIMES(writer, n, dispatchAction, ...) |
| #define | CERROR_N_TIMES(writer, n, dispatchAction, ...) |
| #define | CFATAL_N_TIMES(writer, n, dispatchAction, ...) |
| #define | CTRACE_N_TIMES(writer, n, dispatchAction, ...) |
| #define | CVERBOSE_N_TIMES(writer, n, vlevel, dispatchAction, ...) |
| #define | CLOG(LEVEL, ...) |
| #define | CVLOG(vlevel, ...) |
| #define | CLOG_IF(condition, LEVEL, ...) |
| #define | CVLOG_IF(condition, vlevel, ...) |
| #define | CLOG_EVERY_N(n, LEVEL, ...) |
| #define | CVLOG_EVERY_N(n, vlevel, ...) |
| #define | CLOG_AFTER_N(n, LEVEL, ...) |
| #define | CVLOG_AFTER_N(n, vlevel, ...) |
| #define | CLOG_N_TIMES(n, LEVEL, ...) |
| #define | CVLOG_N_TIMES(n, vlevel, ...) |
| #define | ELPP_CURR_FILE_LOGGER_ID el::base::consts::kDefaultLoggerId |
| #define | ELPP_TRACE CLOG(TRACE, ELPP_CURR_FILE_LOGGER_ID) |
| #define | LOG(LEVEL) |
| #define | VLOG(vlevel) |
| #define | LOG_IF(condition, LEVEL) |
| #define | VLOG_IF(condition, vlevel) |
| #define | LOG_EVERY_N(n, LEVEL) |
| #define | VLOG_EVERY_N(n, vlevel) |
| #define | LOG_AFTER_N(n, LEVEL) |
| #define | VLOG_AFTER_N(n, vlevel) |
| #define | LOG_N_TIMES(n, LEVEL) |
| #define | VLOG_N_TIMES(n, vlevel) |
| #define | CPLOG(LEVEL, ...) |
| #define | CPLOG_IF(condition, LEVEL, ...) |
| #define | DCPLOG(LEVEL, ...) |
| #define | DCPLOG_IF(condition, LEVEL, ...) |
| #define | PLOG(LEVEL) |
| #define | PLOG_IF(condition, LEVEL) |
| #define | DPLOG(LEVEL) |
| #define | DPLOG_IF(condition, LEVEL) |
| #define | CSYSLOG(LEVEL, ...) |
| #define | CSYSLOG_IF(condition, LEVEL, ...) |
| #define | CSYSLOG_EVERY_N(n, LEVEL, ...) |
| #define | CSYSLOG_AFTER_N(n, LEVEL, ...) |
| #define | CSYSLOG_N_TIMES(n, LEVEL, ...) |
| #define | SYSLOG(LEVEL) |
| #define | SYSLOG_IF(condition, LEVEL) |
| #define | SYSLOG_EVERY_N(n, LEVEL) |
| #define | SYSLOG_AFTER_N(n, LEVEL) |
| #define | SYSLOG_N_TIMES(n, LEVEL) |
| #define | DCSYSLOG(LEVEL, ...) |
| #define | DCSYSLOG_IF(condition, LEVEL, ...) |
| #define | DCSYSLOG_EVERY_N(n, LEVEL, ...) |
| #define | DCSYSLOG_AFTER_N(n, LEVEL, ...) |
| #define | DCSYSLOG_N_TIMES(n, LEVEL, ...) |
| #define | DSYSLOG(LEVEL) |
| #define | DSYSLOG_IF(condition, LEVEL) |
| #define | DSYSLOG_EVERY_N(n, LEVEL) |
| #define | DSYSLOG_AFTER_N(n, LEVEL) |
| #define | DSYSLOG_N_TIMES(n, LEVEL) |
| #define | DCLOG(LEVEL, ...) |
| #define | DCLOG_VERBOSE(vlevel, ...) |
| #define | DCVLOG(vlevel, ...) |
| #define | DCLOG_IF(condition, LEVEL, ...) |
| #define | DCVLOG_IF(condition, vlevel, ...) |
| #define | DCLOG_EVERY_N(n, LEVEL, ...) |
| #define | DCVLOG_EVERY_N(n, vlevel, ...) |
| #define | DCLOG_AFTER_N(n, LEVEL, ...) |
| #define | DCVLOG_AFTER_N(n, vlevel, ...) |
| #define | DCLOG_N_TIMES(n, LEVEL, ...) |
| #define | DCVLOG_N_TIMES(n, vlevel, ...) |
| #define | ELPP_USE_DEF_CRASH_HANDLER false |
| #define | ELPP_CRASH_HANDLER_INIT |
| #define | ELPP_INIT_EASYLOGGINGPP(val) |
| #define | INITIALIZE_EASYLOGGINGPP ELPP_INIT_EASYLOGGINGPP(new el::base::Storage(el::LogBuilderPtr(new el::base::DefaultLogBuilder()))) |
| #define | INITIALIZE_NULL_EASYLOGGINGPP |
| #define | SHARE_EASYLOGGINGPP(initializedStorage) |
| #define | START_EASYLOGGINGPP(argc, argv) |
Functions | |
| static void | el::base::defaultPreRollOutCallback (const char *, std::size_t) |
| template<typename T> | |
| static std::enable_if< std::is_pointer< T * >::value, void >::type | el::base::utils::safeDelete (T *&pointer) |
| Deletes memory safely and points to null. | |
| template<typename Enum> | |
| static base::type::EnumType | el::base::utils::bitwise::And (Enum e, base::type::EnumType flag) |
| template<typename Enum> | |
| static base::type::EnumType | el::base::utils::bitwise::Not (Enum e, base::type::EnumType flag) |
| template<typename Enum> | |
| static base::type::EnumType | el::base::utils::bitwise::Or (Enum e, base::type::EnumType flag) |
| template<typename Enum> | |
| static void | el::base::utils::addFlag (Enum e, base::type::EnumType *flag) |
| template<typename Enum> | |
| static void | el::base::utils::removeFlag (Enum e, base::type::EnumType *flag) |
| template<typename Enum> | |
| static bool | el::base::utils::hasFlag (Enum e, base::type::EnumType flag) |
| static std::string | el::base::threading::getCurrentThreadId (void) |
| #define CDEBUG | ( | writer, | |
| dispatchAction, | |||
| ... ) |
| #define CDEBUG_AFTER_N | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CDEBUG_EVERY_N | ( | writer, | |
| occasion, | |||
| dispatchAction, | |||
| ... ) |
| #define CDEBUG_IF | ( | writer, | |
| condition_, | |||
| dispatchAction, | |||
| ... ) |
| #define CDEBUG_N_TIMES | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CERROR | ( | writer, | |
| dispatchAction, | |||
| ... ) |
| #define CERROR_AFTER_N | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CERROR_EVERY_N | ( | writer, | |
| occasion, | |||
| dispatchAction, | |||
| ... ) |
| #define CERROR_IF | ( | writer, | |
| condition_, | |||
| dispatchAction, | |||
| ... ) |
| #define CERROR_N_TIMES | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CFATAL | ( | writer, | |
| dispatchAction, | |||
| ... ) |
| #define CFATAL_AFTER_N | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CFATAL_EVERY_N | ( | writer, | |
| occasion, | |||
| dispatchAction, | |||
| ... ) |
| #define CFATAL_IF | ( | writer, | |
| condition_, | |||
| dispatchAction, | |||
| ... ) |
| #define CFATAL_N_TIMES | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CINFO | ( | writer, | |
| dispatchAction, | |||
| ... ) |
| #define CINFO_AFTER_N | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CINFO_EVERY_N | ( | writer, | |
| occasion, | |||
| dispatchAction, | |||
| ... ) |
| #define CINFO_IF | ( | writer, | |
| condition_, | |||
| dispatchAction, | |||
| ... ) |
| #define CINFO_N_TIMES | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CLOG | ( | LEVEL, | |
| ... ) |
| #define CLOG_AFTER_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define CLOG_EVERY_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define CLOG_IF | ( | condition, | |
| LEVEL, | |||
| ... ) |
| #define CLOG_N_TIMES | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define CPLOG | ( | LEVEL, | |
| ... ) |
| #define CPLOG_IF | ( | condition, | |
| LEVEL, | |||
| ... ) |
| #define CSYSLOG | ( | LEVEL, | |
| ... ) |
| #define CSYSLOG_AFTER_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define CSYSLOG_EVERY_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define CSYSLOG_IF | ( | condition, | |
| LEVEL, | |||
| ... ) |
| #define CSYSLOG_N_TIMES | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define CTRACE | ( | writer, | |
| dispatchAction, | |||
| ... ) |
| #define CTRACE_AFTER_N | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CTRACE_EVERY_N | ( | writer, | |
| occasion, | |||
| dispatchAction, | |||
| ... ) |
| #define CTRACE_IF | ( | writer, | |
| condition_, | |||
| dispatchAction, | |||
| ... ) |
| #define CTRACE_N_TIMES | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CVERBOSE | ( | writer, | |
| vlevel, | |||
| dispatchAction, | |||
| ... ) |
| #define CVERBOSE_AFTER_N | ( | writer, | |
| n, | |||
| vlevel, | |||
| dispatchAction, | |||
| ... ) |
| #define CVERBOSE_EVERY_N | ( | writer, | |
| occasion, | |||
| vlevel, | |||
| dispatchAction, | |||
| ... ) |
| #define CVERBOSE_IF | ( | writer, | |
| condition_, | |||
| vlevel, | |||
| dispatchAction, | |||
| ... ) |
| #define CVERBOSE_N_TIMES | ( | writer, | |
| n, | |||
| vlevel, | |||
| dispatchAction, | |||
| ... ) |
| #define CVLOG | ( | vlevel, | |
| ... ) |
| #define CVLOG_AFTER_N | ( | n, | |
| vlevel, | |||
| ... ) |
| #define CVLOG_EVERY_N | ( | n, | |
| vlevel, | |||
| ... ) |
| #define CVLOG_IF | ( | condition, | |
| vlevel, | |||
| ... ) |
| #define CVLOG_N_TIMES | ( | n, | |
| vlevel, | |||
| ... ) |
| #define CWARNING | ( | writer, | |
| dispatchAction, | |||
| ... ) |
| #define CWARNING_AFTER_N | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define CWARNING_EVERY_N | ( | writer, | |
| occasion, | |||
| dispatchAction, | |||
| ... ) |
| #define CWARNING_IF | ( | writer, | |
| condition_, | |||
| dispatchAction, | |||
| ... ) |
| #define CWARNING_N_TIMES | ( | writer, | |
| n, | |||
| dispatchAction, | |||
| ... ) |
| #define DCLOG | ( | LEVEL, | |
| ... ) |
| #define DCLOG_AFTER_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define DCLOG_EVERY_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define DCLOG_IF | ( | condition, | |
| LEVEL, | |||
| ... ) |
| #define DCLOG_N_TIMES | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define DCLOG_VERBOSE | ( | vlevel, | |
| ... ) |
| #define DCPLOG | ( | LEVEL, | |
| ... ) |
| #define DCPLOG_IF | ( | condition, | |
| LEVEL, | |||
| ... ) |
| #define DCSYSLOG | ( | LEVEL, | |
| ... ) |
| #define DCSYSLOG_AFTER_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define DCSYSLOG_EVERY_N | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define DCSYSLOG_IF | ( | condition, | |
| LEVEL, | |||
| ... ) |
| #define DCSYSLOG_N_TIMES | ( | n, | |
| LEVEL, | |||
| ... ) |
| #define DCVLOG | ( | vlevel, | |
| ... ) |
| #define DCVLOG_AFTER_N | ( | n, | |
| vlevel, | |||
| ... ) |
| #define DCVLOG_EVERY_N | ( | n, | |
| vlevel, | |||
| ... ) |
| #define DCVLOG_IF | ( | condition, | |
| vlevel, | |||
| ... ) |
| #define DCVLOG_N_TIMES | ( | n, | |
| vlevel, | |||
| ... ) |
| #define DPLOG | ( | LEVEL | ) |
| #define DPLOG_IF | ( | condition, | |
| LEVEL ) |
| #define DSYSLOG | ( | LEVEL | ) |
| #define DSYSLOG_AFTER_N | ( | n, | |
| LEVEL ) |
| #define DSYSLOG_EVERY_N | ( | n, | |
| LEVEL ) |
| #define DSYSLOG_IF | ( | condition, | |
| LEVEL ) |
| #define DSYSLOG_N_TIMES | ( | n, | |
| LEVEL ) |
| #define el_getVALength | ( | ... | ) |
| #define el_resolveVALength | ( | _0, | |
| _1, | |||
| _2, | |||
| _3, | |||
| _4, | |||
| _5, | |||
| _6, | |||
| _7, | |||
| _8, | |||
| _9, | |||
| _10, | |||
| N, | |||
| ... ) |
| #define ELPP el::base::Storage::getELPP() |
| #define ELPP_ASSERT | ( | expr, | |
| msg ) |
| #define ELPP_ASYNC_LOGGING 0 |
| #define ELPP_COMPILER_CLANG 0 |
| #define ELPP_COMPILER_GCC 0 |
| #define ELPP_COMPILER_INTEL 0 |
| #define ELPP_COMPILER_MSVC 0 |
| #define ELPP_COUNTER (ELPP->hitCounters()->getCounter(__FILE__, __LINE__)) |
Gets hit counter for file/line.
| #define ELPP_COUNTER_POS (ELPP_COUNTER == nullptr ? -1 : ELPP_COUNTER->hitCounts()) |
Gets hit counter position for file/line, -1 if not registered yet.
| #define ELPP_COUT std::cout |
| #define ELPP_COUT_LINE | ( | logLine | ) |
| #define ELPP_CRASH_HANDLER_INIT |
| #define ELPP_CRT_DBG_WARNINGS ELPP_COMPILER_MSVC |
| #define ELPP_CURR_FILE_LOGGER_ID el::base::consts::kDefaultLoggerId |
| #define ELPP_CYGWIN 0 |
| #define ELPP_DEBUG_LOG 0 |
| #define ELPP_ERROR_LOG 0 |
| #define ELPP_EXPORT |
| #define ELPP_FATAL_LOG 0 |
| #define ELPP_FINAL |
| #define ELPP_FUNC "" |
| #define ELPP_INFO_LOG 0 |
| #define ELPP_INIT_EASYLOGGINGPP | ( | val | ) |
| #define ELPP_INITIALIZE_SYSLOG | ( | id, | |
| opt, | |||
| fac ) |
| #define ELPP_INTERNAL_DEBUGGING_ENDL std::endl |
| #define ELPP_INTERNAL_DEBUGGING_MSG | ( | msg | ) |
| #define ELPP_INTERNAL_DEBUGGING_OUT_ERROR std::cerr |
| #define ELPP_INTERNAL_DEBUGGING_OUT_INFO std::cout |
| #define ELPP_INTERNAL_DEBUGGING_WRITE_PERROR ELPP_INTERNAL_DEBUGGING_OUT_ERROR << ": " << strerror(errno) << " [" << errno << "]"; (void)0 |
| #define ELPP_INTERNAL_ERROR | ( | msg, | |
| pe ) |
| #define ELPP_INTERNAL_INFO | ( | lvl, | |
| msg ) |
| #define ELPP_ITERATOR_CONTAINER_LOG_FIVE_ARG | ( | temp | ) |
| #define ELPP_ITERATOR_CONTAINER_LOG_FOUR_ARG | ( | temp | ) |
| #define ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG | ( | temp | ) |
| #define ELPP_ITERATOR_CONTAINER_LOG_THREE_ARG | ( | temp | ) |
| #define ELPP_ITERATOR_CONTAINER_LOG_TWO_ARG | ( | temp | ) |
| #define ELPP_LITERAL | ( | txt | ) |
| #define ELPP_LOGGING_ENABLED 1 |
| #define ELPP_MIN_UNIT el::base::TimestampUnit::Millisecond |
| #define ELPP_MINGW 0 |
| #define ELPP_OS_AIX 0 |
| #define ELPP_OS_ANDROID 0 |
| #define ELPP_OS_DRAGONFLY 0 |
| #define ELPP_OS_EMSCRIPTEN 0 |
| #define ELPP_OS_FREEBSD 0 |
| #define ELPP_OS_LINUX 0 |
| #define ELPP_OS_MAC 0 |
| #define ELPP_OS_NETBSD 0 |
| #define ELPP_OS_NETBSD 0 |
| #define ELPP_OS_OPENBSD 0 |
| #define ELPP_OS_SOLARIS 0 |
| #define ELPP_OS_UNIX 0 |
| #define ELPP_OS_WINDOWS 0 |
| #define ELPP_SIMPLE_LOG | ( | LOG_TYPE | ) |
| #define ELPP_STACKTRACE 0 |
| #define ELPP_STRLEN strlen |
| #define ELPP_THREADING_ENABLED 1 |
| #define ELPP_TRACE CLOG(TRACE, ELPP_CURR_FILE_LOGGER_ID) |
| #define ELPP_TRACE_LOG 0 |
| #define ELPP_UNUSED | ( | x | ) |
| #define ELPP_USE_DEF_CRASH_HANDLER false |
| #define ELPP_USE_STD_THREADING 0 |
| #define ELPP_VARIADIC_TEMPLATES_SUPPORTED (ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800)) |
| #define ELPP_VERBOSE_LOG 0 |
| #define ELPP_WARNING_LOG 0 |
| #define ELPP_WRITE_LOG | ( | writer, | |
| level, | |||
| dispatchAction, | |||
| ... ) |
| #define ELPP_WRITE_LOG_AFTER_N | ( | writer, | |
| n, | |||
| level, | |||
| dispatchAction, | |||
| ... ) |
| #define ELPP_WRITE_LOG_EVERY_N | ( | writer, | |
| occasion, | |||
| level, | |||
| dispatchAction, | |||
| ... ) |
| #define ELPP_WRITE_LOG_IF | ( | writer, | |
| condition, | |||
| level, | |||
| dispatchAction, | |||
| ... ) |
| #define ELPP_WRITE_LOG_N_TIMES | ( | writer, | |
| n, | |||
| level, | |||
| dispatchAction, | |||
| ... ) |
| #define ELPP_WX_ENABLED | ( | ContainerType | ) |
| #define ELPP_WX_HASH_MAP_ENABLED | ( | ContainerType | ) |
| #define ELPP_WX_PTR_ENABLED | ( | ContainerType | ) |
| #define elpptime gmtime |
| #define elpptime_r gmtime_r |
| #define elpptime_s gmtime_s |
| #define INITIALIZE_EASYLOGGINGPP ELPP_INIT_EASYLOGGINGPP(new el::base::Storage(el::LogBuilderPtr(new el::base::DefaultLogBuilder()))) |
| #define INITIALIZE_NULL_EASYLOGGINGPP |
| #define LOG | ( | LEVEL | ) |
| #define LOG_AFTER_N | ( | n, | |
| LEVEL ) |
| #define LOG_EVERY_N | ( | n, | |
| LEVEL ) |
| #define LOG_IF | ( | condition, | |
| LEVEL ) |
| #define LOG_N_TIMES | ( | n, | |
| LEVEL ) |
| #define MAKE_CONTAINERELPP_FRIENDLY | ( | ContainerType, | |
| SizeMethod, | |||
| ElementInstance ) |
Macro used internally that can be used externally to make containers easylogging++ friendly.
@detail This macro expands to write an ostream& operator<< for container. This container is expected to have begin() and end() methods that return respective iterators
| ContainerType | Type of container e.g, MyList from WX_DECLARE_LIST(int, MyList); in wxwidgets |
| SizeMethod | Method used to get size of container. |
| ElementInstance | Instance of element to be fed out. Insance name is "elem". See WXELPP_ENABLED macro for an example usage |
| #define MAKE_LOGGABLE | ( | ClassType, | |
| ClassInstance, | |||
| OutputStreamInstance ) |
| #define PERFORMANCE_CHECKPOINT | ( | obj | ) |
| #define PERFORMANCE_CHECKPOINT_WITH_ID | ( | obj, | |
| id ) |
| #define PLOG | ( | LEVEL | ) |
| #define PLOG_IF | ( | condition, | |
| LEVEL ) |
| #define SHARE_EASYLOGGINGPP | ( | initializedStorage | ) |
| #define START_EASYLOGGINGPP | ( | argc, | |
| argv ) |
| #define SYSLOG | ( | LEVEL | ) |
| #define SYSLOG_AFTER_N | ( | n, | |
| LEVEL ) |
| #define SYSLOG_EVERY_N | ( | n, | |
| LEVEL ) |
| #define SYSLOG_IF | ( | condition, | |
| LEVEL ) |
| #define SYSLOG_N_TIMES | ( | n, | |
| LEVEL ) |
| #define TIMED_BLOCK | ( | obj, | |
| blockName ) |
| #define TIMED_FUNC | ( | obj | ) |
| #define TIMED_FUNC_IF | ( | obj, | |
| condition ) |
Performance tracked function. Performance gets written when goes out of scope using 'performance' logger.
@detail Please note in order to check the performance at a certain time you can use obj->checkpoint();
| #define TIMED_SCOPE | ( | obj, | |
| blockname ) |
| #define TIMED_SCOPE_IF | ( | obj, | |
| blockname, | |||
| condition ) |
Performance tracked scope. Performance gets written when goes out of scope using 'performance' logger.
@detail Please note in order to check the performance at a certain time you can use obj->checkpoint();
| #define VLOG | ( | vlevel | ) |
| #define VLOG_AFTER_N | ( | n, | |
| vlevel ) |
| #define VLOG_EVERY_N | ( | n, | |
| vlevel ) |
| #define VLOG_IF | ( | condition, | |
| vlevel ) |
| #define VLOG_IS_ON | ( | verboseLevel | ) |
Determines whether verbose logging is on for specified level current file.
| #define VLOG_N_TIMES | ( | n, | |
| vlevel ) |