#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::utils::AbstractRegistry< T_Ptr, Container > |
Abstract registry (aka repository) that provides basic interface for pointer repository specified by T_Ptr type. More... | |
class | el::Callback< T > |
class | el::Callback< T > |
class | el::base::utils::CommandLineArgs |
Command line arguments for application if specified using el::Helpers::setArgs(..) or START_EASYLOGGINGPP(..) More... | |
class | el::Configuration |
Represents single configuration that has representing level, configuration type and a string based value. More... | |
class | el::Configurations |
Thread-safe Configuration repository. More... | |
class | el::ConfigurationTypeHelper |
Static class that contains helper functions for el::ConfigurationType. More... | |
class | el::base::debug::CrashHandler |
class | el::CustomFormatSpecifier |
User-provided custom format specifier. 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::DefaultLogBuilder |
class | el::base::DefaultLogDispatchCallback |
class | el::base::utils::File |
struct | std::hash< el::Level > |
class | el::Helpers |
Static helpers for developers. More... | |
class | el::base::HitCounter |
Class that keeps record of current line hit for occasional logging. More... | |
class | el::LevelHelper |
Static class that contains helper functions for el::Level. More... | |
class | el::LogBuilder |
class | el::LogDispatchCallback |
class | el::LogDispatchData |
class | el::base::LogDispatcher |
Dispatches log messages. More... | |
class | el::base::LogFormat |
Represents log format containing flags and date format. This is used internally to start initial log. More... | |
class | el::Loggable |
Base of Easylogging++ friendly class. More... | |
class | el::Logger |
Represents a logger holding ID and configurations we need to write logs. More... | |
class | el::LoggerRegistrationCallback |
class | el::Loggers |
Static helpers to deal with loggers and their configurations. More... | |
class | el::LogMessage |
class | el::base::MessageBuilder |
class | el::base::NoCopy |
Internal helper class that prevent copy constructor for class. 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::NullWriter |
Writes nothing - Used when certain log is disabled. More... | |
class | el::base::utils::OS |
Operating System helper static class used internally. You should not use it. More... | |
class | el::Configurations::Parser |
Parser used internally to parse configurations from file or text. More... | |
class | el::PerformanceTrackingCallback |
class | el::base::PErrorWriter |
class | el::base::HitCounter::Predicate |
class | el::Configuration::Predicate |
Used to find configuration from configuration (pointers) repository. Avoid using it. More... | |
class | el::base::RegisteredHitCounters |
Repository for hit counters used across the application. More... | |
class | el::base::RegisteredLoggers |
Loggers repository. 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::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::base::StaticClass |
Internal helper class that makes all default constructors private. More... | |
class | el::base::Storage |
Easylogging++ management storage. More... | |
class | el::base::utils::Str |
String utilities helper class used internally. You should not use it. More... | |
class | el::base::SubsecondPrecision |
A subsecond precision class containing actual width and offset of the subsecond part. More... | |
class | el::SysLogInitializer |
Initializes syslog with process ID, options and facility. calls closelog() on d'tor. More... | |
class | el::base::threading::ThreadSafe |
Base of thread safe class, this class is inheritable-only. More... | |
class | el::base::TypedConfigurations |
Configurations with data types. More... | |
class | el::base::utils::Utils |
class | el::VersionInfo |
class | el::base::VRegistry |
Represents registries for verbose logging. More... | |
class | el::base::Writer |
Main entry point of each logging. More... | |
Namespaces | |
el | |
Easylogging++ entry namespace. | |
el::base | |
Namespace containing base/internal functionality used by Easylogging++. | |
el::base::consts | |
Namespace containing constants used internally. | |
el::base::debug | |
Contains some internal debugging tools like crash handler and stack tracer. | |
el::base::threading | |
el::base::threading::internal | |
el::base::type | |
Data types used by Easylogging++. | |
el::base::utils | |
Namespace containing utility functions/static classes used internally. | |
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. | |
std | |
Macros | |
#define | CCHECK(condition, ...) CLOG_IF(!(condition), FATAL, __VA_ARGS__) << "Check failed: [" << #condition << "] " |
#define | CCHECK_BOUNDS(val, min, max, ...) CCHECK(val >= min && val <= max, __VA_ARGS__) |
#define | CCHECK_EQ(a, b, ...) CCHECK(a == b, __VA_ARGS__) |
#define | CCHECK_GE(a, b, ...) CCHECK(a >= b, __VA_ARGS__) |
#define | CCHECK_GT(a, b, ...) CCHECK(a > b, __VA_ARGS__) |
#define | CCHECK_LE(a, b, ...) CCHECK(a <= b, __VA_ARGS__) |
#define | CCHECK_LT(a, b, ...) CCHECK(a < b, __VA_ARGS__) |
#define | CCHECK_NE(a, b, ...) CCHECK(a != b, __VA_ARGS__) |
#define | CCHECK_NOTNULL(ptr, ...) CCHECK((ptr) != nullptr, __VA_ARGS__) |
#define | CCHECK_STRCASEEQ(str1, str2, ...) |
#define | CCHECK_STRCASENE(str1, str2, ...) |
#define | CCHECK_STREQ(str1, str2, ...) |
#define | CCHECK_STRNE(str1, str2, ...) |
#define | CDEBUG(writer, dispatchAction, ...) ELPP_WRITE_LOG(writer, el::Level::Debug, dispatchAction, __VA_ARGS__) |
#define | CDEBUG_AFTER_N(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Debug, dispatchAction, __VA_ARGS__) |
#define | CDEBUG_EVERY_N(writer, occasion, dispatchAction, ...) ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Debug, dispatchAction, __VA_ARGS__) |
#define | CDEBUG_IF(writer, condition_, dispatchAction, ...) ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Debug, dispatchAction, __VA_ARGS__) |
#define | CDEBUG_N_TIMES(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Debug, dispatchAction, __VA_ARGS__) |
#define | CERROR(writer, dispatchAction, ...) ELPP_WRITE_LOG(writer, el::Level::Error, dispatchAction, __VA_ARGS__) |
#define | CERROR_AFTER_N(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Error, dispatchAction, __VA_ARGS__) |
#define | CERROR_EVERY_N(writer, occasion, dispatchAction, ...) ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Error, dispatchAction, __VA_ARGS__) |
#define | CERROR_IF(writer, condition_, dispatchAction, ...) ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Error, dispatchAction, __VA_ARGS__) |
#define | CERROR_N_TIMES(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Error, dispatchAction, __VA_ARGS__) |
#define | CFATAL(writer, dispatchAction, ...) ELPP_WRITE_LOG(writer, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
#define | CFATAL_AFTER_N(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
#define | CFATAL_EVERY_N(writer, occasion, dispatchAction, ...) ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
#define | CFATAL_IF(writer, condition_, dispatchAction, ...) ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Fatal, dispatchAction, __VA_ARGS__) |
#define | CFATAL_N_TIMES(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
#define | CHECK(condition) CCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_BOUNDS(val, min, max) CCHECK_BOUNDS(val, min, max, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_EQ(a, b) CCHECK_EQ(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_GE(a, b) CCHECK_GE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_GT(a, b) CCHECK_GT(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_LE(a, b) CCHECK_LE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_LT(a, b) CCHECK_LT(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_NE(a, b) CCHECK_NE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_NOTNULL(ptr) CCHECK_NOTNULL((ptr), ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_STRCASEEQ(str1, str2) CCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_STRCASENE(str1, str2) CCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_STREQ(str1, str2) CCHECK_STREQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | CHECK_STRNE(str1, str2) CCHECK_STRNE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | CINFO(writer, dispatchAction, ...) ELPP_WRITE_LOG(writer, el::Level::Info, dispatchAction, __VA_ARGS__) |
#define | CINFO_AFTER_N(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Info, dispatchAction, __VA_ARGS__) |
#define | CINFO_EVERY_N(writer, occasion, dispatchAction, ...) ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Info, dispatchAction, __VA_ARGS__) |
#define | CINFO_IF(writer, condition_, dispatchAction, ...) ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Info, dispatchAction, __VA_ARGS__) |
#define | CINFO_N_TIMES(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Info, dispatchAction, __VA_ARGS__) |
#define | CLOG(LEVEL, ...) C##LEVEL(el::base::Writer, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CLOG_AFTER_N(n, LEVEL, ...) C##LEVEL##_AFTER_N(el::base::Writer, n, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CLOG_EVERY_N(n, LEVEL, ...) C##LEVEL##_EVERY_N(el::base::Writer, n, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CLOG_IF(condition, LEVEL, ...) C##LEVEL##_IF(el::base::Writer, condition, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CLOG_N_TIMES(n, LEVEL, ...) C##LEVEL##_N_TIMES(el::base::Writer, n, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CPCHECK(condition, ...) CPLOG_IF(!(condition), FATAL, __VA_ARGS__) << "Check failed: [" << #condition << "] " |
#define | CPLOG(LEVEL, ...) C##LEVEL(el::base::PErrorWriter, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CPLOG_IF(condition, LEVEL, ...) C##LEVEL##_IF(el::base::PErrorWriter, condition, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CSYSLOG(LEVEL, ...) el::base::NullWriter() |
#define | CSYSLOG_AFTER_N(n, LEVEL, ...) el::base::NullWriter() |
#define | CSYSLOG_EVERY_N(n, LEVEL, ...) el::base::NullWriter() |
#define | CSYSLOG_IF(condition, LEVEL, ...) el::base::NullWriter() |
#define | CSYSLOG_N_TIMES(n, LEVEL, ...) el::base::NullWriter() |
#define | CTRACE(writer, dispatchAction, ...) ELPP_WRITE_LOG(writer, el::Level::Trace, dispatchAction, __VA_ARGS__) |
#define | CTRACE_AFTER_N(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Trace, dispatchAction, __VA_ARGS__) |
#define | CTRACE_EVERY_N(writer, occasion, dispatchAction, ...) ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Trace, dispatchAction, __VA_ARGS__) |
#define | CTRACE_IF(writer, condition_, dispatchAction, ...) ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Trace, dispatchAction, __VA_ARGS__) |
#define | CTRACE_N_TIMES(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Trace, dispatchAction, __VA_ARGS__) |
#define | CVERBOSE(writer, vlevel, dispatchAction, ...) |
#define | CVERBOSE_AFTER_N(writer, n, vlevel, dispatchAction, ...) CVERBOSE_IF(writer, ELPP->validateAfterNCounter(__FILE__, __LINE__, n), vlevel, dispatchAction, __VA_ARGS__) |
#define | CVERBOSE_EVERY_N(writer, occasion, vlevel, dispatchAction, ...) CVERBOSE_IF(writer, ELPP->validateEveryNCounter(__FILE__, __LINE__, occasion), vlevel, dispatchAction, __VA_ARGS__) |
#define | CVERBOSE_IF(writer, condition_, vlevel, dispatchAction, ...) |
#define | CVERBOSE_N_TIMES(writer, n, vlevel, dispatchAction, ...) CVERBOSE_IF(writer, ELPP->validateNTimesCounter(__FILE__, __LINE__, n), vlevel, dispatchAction, __VA_ARGS__) |
#define | CVLOG(vlevel, ...) CVERBOSE(el::base::Writer, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CVLOG_AFTER_N(n, vlevel, ...) CVERBOSE_AFTER_N(el::base::Writer, n, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CVLOG_EVERY_N(n, vlevel, ...) CVERBOSE_EVERY_N(el::base::Writer, n, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CVLOG_IF(condition, vlevel, ...) CVERBOSE_IF(el::base::Writer, condition, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CVLOG_N_TIMES(n, vlevel, ...) CVERBOSE_N_TIMES(el::base::Writer, n, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | CWARNING(writer, dispatchAction, ...) ELPP_WRITE_LOG(writer, el::Level::Warning, dispatchAction, __VA_ARGS__) |
#define | CWARNING_AFTER_N(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Warning, dispatchAction, __VA_ARGS__) |
#define | CWARNING_EVERY_N(writer, occasion, dispatchAction, ...) ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Warning, dispatchAction, __VA_ARGS__) |
#define | CWARNING_IF(writer, condition_, dispatchAction, ...) ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Warning, dispatchAction, __VA_ARGS__) |
#define | CWARNING_N_TIMES(writer, n, dispatchAction, ...) ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Warning, dispatchAction, __VA_ARGS__) |
#define | DCCHECK(condition, ...) if (ELPP_DEBUG_LOG) CCHECK(condition, __VA_ARGS__) |
#define | DCCHECK_BOUNDS(val, min, max, ...) if (ELPP_DEBUG_LOG) CCHECK_BOUNDS(val, min, max, __VA_ARGS__) |
#define | DCCHECK_EQ(a, b, ...) if (ELPP_DEBUG_LOG) CCHECK_EQ(a, b, __VA_ARGS__) |
#define | DCCHECK_GE(a, b, ...) if (ELPP_DEBUG_LOG) CCHECK_GE(a, b, __VA_ARGS__) |
#define | DCCHECK_GT(a, b, ...) if (ELPP_DEBUG_LOG) CCHECK_GT(a, b, __VA_ARGS__) |
#define | DCCHECK_LE(a, b, ...) if (ELPP_DEBUG_LOG) CCHECK_LE(a, b, __VA_ARGS__) |
#define | DCCHECK_LT(a, b, ...) if (ELPP_DEBUG_LOG) CCHECK_LT(a, b, __VA_ARGS__) |
#define | DCCHECK_NE(a, b, ...) if (ELPP_DEBUG_LOG) CCHECK_NE(a, b, __VA_ARGS__) |
#define | DCCHECK_NOTNULL(ptr, ...) if (ELPP_DEBUG_LOG) CCHECK_NOTNULL((ptr), __VA_ARGS__) |
#define | DCCHECK_STRCASEEQ(str1, str2, ...) if (ELPP_DEBUG_LOG) CCHECK_STRCASEEQ(str1, str2, __VA_ARGS__) |
#define | DCCHECK_STRCASENE(str1, str2, ...) if (ELPP_DEBUG_LOG) CCHECK_STRCASENE(str1, str2, __VA_ARGS__) |
#define | DCCHECK_STREQ(str1, str2, ...) if (ELPP_DEBUG_LOG) CCHECK_STREQ(str1, str2, __VA_ARGS__) |
#define | DCCHECK_STRNE(str1, str2, ...) if (ELPP_DEBUG_LOG) CCHECK_STRNE(str1, str2, __VA_ARGS__) |
#define | DCHECK(condition) DCCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_BOUNDS(val, min, max) DCCHECK_BOUNDS(val, min, max, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_EQ(a, b) DCCHECK_EQ(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_GE(a, b) DCCHECK_GE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_GT(a, b) DCCHECK_GT(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_LE(a, b) DCCHECK_LE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_LT(a, b) DCCHECK_LT(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_NE(a, b) DCCHECK_NE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_NOTNULL(ptr) DCCHECK_NOTNULL((ptr), ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_STRCASEEQ(str1, str2) DCCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_STRCASENE(str1, str2) DCCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_STREQ(str1, str2) DCCHECK_STREQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCHECK_STRNE(str1, str2) DCCHECK_STRNE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
#define | DCLOG(LEVEL, ...) if (ELPP_DEBUG_LOG) CLOG(LEVEL, __VA_ARGS__) |
#define | DCLOG_AFTER_N(n, LEVEL, ...) if (ELPP_DEBUG_LOG) CLOG_AFTER_N(n, LEVEL, __VA_ARGS__) |
#define | DCLOG_EVERY_N(n, LEVEL, ...) if (ELPP_DEBUG_LOG) CLOG_EVERY_N(n, LEVEL, __VA_ARGS__) |
#define | DCLOG_IF(condition, LEVEL, ...) if (ELPP_DEBUG_LOG) CLOG_IF(condition, LEVEL, __VA_ARGS__) |
#define | DCLOG_N_TIMES(n, LEVEL, ...) if (ELPP_DEBUG_LOG) CLOG_N_TIMES(n, LEVEL, __VA_ARGS__) |
#define | DCLOG_VERBOSE(vlevel, ...) if (ELPP_DEBUG_LOG) CLOG_VERBOSE(vlevel, __VA_ARGS__) |
#define | DCPCHECK(condition, ...) if (ELPP_DEBUG_LOG) CPCHECK(condition, __VA_ARGS__) |
#define | DCPLOG(LEVEL, ...) if (ELPP_DEBUG_LOG) C##LEVEL(el::base::PErrorWriter, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | DCPLOG_IF(condition, LEVEL, ...) C##LEVEL##_IF(el::base::PErrorWriter, (ELPP_DEBUG_LOG) && (condition), el::base::DispatchAction::NormalLog, __VA_ARGS__) |
#define | DCSYSLOG(LEVEL, ...) el::base::NullWriter() |
#define | DCSYSLOG_AFTER_N(n, LEVEL, ...) el::base::NullWriter() |
#define | DCSYSLOG_EVERY_N(n, LEVEL, ...) el::base::NullWriter() |
#define | DCSYSLOG_IF(condition, LEVEL, ...) el::base::NullWriter() |
#define | DCSYSLOG_N_TIMES(n, LEVEL, ...) el::base::NullWriter() |
#define | DCVLOG(vlevel, ...) if (ELPP_DEBUG_LOG) CVLOG(vlevel, __VA_ARGS__) |
#define | DCVLOG_AFTER_N(n, vlevel, ...) if (ELPP_DEBUG_LOG) CVLOG_AFTER_N(n, vlevel, __VA_ARGS__) |
#define | DCVLOG_EVERY_N(n, vlevel, ...) if (ELPP_DEBUG_LOG) CVLOG_EVERY_N(n, vlevel, __VA_ARGS__) |
#define | DCVLOG_IF(condition, vlevel, ...) if (ELPP_DEBUG_LOG) CVLOG_IF(condition, vlevel, __VA_ARGS__) |
#define | DCVLOG_N_TIMES(n, vlevel, ...) if (ELPP_DEBUG_LOG) CVLOG_N_TIMES(n, vlevel, __VA_ARGS__) |
#define | DLOG(LEVEL) DCLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DLOG_AFTER_N(n, LEVEL) DCLOG_AFTER_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DLOG_EVERY_N(n, LEVEL) DCLOG_EVERY_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DLOG_IF(condition, LEVEL) DCLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DLOG_N_TIMES(n, LEVEL) DCLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DPCHECK(condition) DCPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
#define | DPLOG(LEVEL) DCPLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DPLOG_IF(condition, LEVEL) DCPLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | DSYSLOG(LEVEL) el::base::NullWriter() |
#define | DSYSLOG_AFTER_N(n, LEVEL) el::base::NullWriter() |
#define | DSYSLOG_EVERY_N(n, LEVEL) el::base::NullWriter() |
#define | DSYSLOG_IF(condition, LEVEL) el::base::NullWriter() |
#define | DSYSLOG_N_TIMES(n, LEVEL) el::base::NullWriter() |
#define | DVLOG(vlevel) DCVLOG(vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | DVLOG_AFTER_N(n, vlevel) DCVLOG_AFTER_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | DVLOG_EVERY_N(n, vlevel) DCVLOG_EVERY_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | DVLOG_IF(condition, vlevel) DCVLOG_IF(condition, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | DVLOG_N_TIMES(n, vlevel) DCVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | el_getVALength(...) el_resolveVALength(0, ## __VA_ARGS__, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) |
#define | el_resolveVALength(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N |
#define | ELPP el::base::elStorage |
#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. More... | |
#define | ELPP_COUNTER_POS (ELPP_COUNTER == nullptr ? -1 : ELPP_COUNTER->hitCounts()) |
Gets hit counter position for file/line, -1 if not registered yet. More... | |
#define | ELPP_COUT std::cout |
#define | ELPP_COUT_LINE(logLine) logLine << std::flush |
#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 1 |
#define | ELPP_ERROR_LOG 1 |
#define | ELPP_EXPORT |
#define | ELPP_FATAL_LOG 1 |
#define | ELPP_FINAL |
#define | ELPP_FUNC "" |
#define | ELPP_INFO_LOG 1 |
#define | ELPP_INIT_EASYLOGGINGPP(val) |
#define | ELPP_INITIALIZE_SYSLOG(id, opt, fac) el::SysLogInitializer elSyslogInit(id, opt, fac) |
#define | ELPP_INTERNAL_DEBUGGING_ENDL std::endl |
#define | ELPP_INTERNAL_DEBUGGING_MSG(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) 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_FREEBSD 0 |
#define | ELPP_OS_LINUX 0 |
#define | ELPP_OS_MAC 0 |
#define | ELPP_OS_NETBSD 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 0 |
#define | ELPP_TRACE CLOG(TRACE, ELPP_CURR_FILE_LOGGER_ID) |
#define | ELPP_TRACE_LOG 1 |
#define | ELPP_UNUSED(x) (void)x |
#define | ELPP_USE_DEF_CRASH_HANDLER true |
#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 1 |
#define | ELPP_WARNING_LOG 1 |
#define | ELPP_WRITE_LOG(writer, level, dispatchAction, ...) writer(level, __FILE__, __LINE__, ELPP_FUNC, dispatchAction).construct(el_getVALength(__VA_ARGS__), __VA_ARGS__) |
#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 localtime |
#define | elpptime_r localtime_r |
#define | elpptime_s localtime_s |
#define | INITIALIZE_EASYLOGGINGPP ELPP_INIT_EASYLOGGINGPP(new el::base::Storage(el::LogBuilderPtr(new el::base::DefaultLogBuilder()))) |
#define | INITIALIZE_NULL_EASYLOGGINGPP |
#define | LOG(LEVEL) CLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | LOG_AFTER_N(n, LEVEL) CLOG_AFTER_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | LOG_EVERY_N(n, LEVEL) CLOG_EVERY_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | LOG_IF(condition, LEVEL) CLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | LOG_N_TIMES(n, LEVEL) CLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | MAKE_CONTAINERELPP_FRIENDLY(ContainerType, SizeMethod, ElementInstance) |
Macro used internally that can be used externally to make containers easylogging++ friendly. More... | |
#define | MAKE_LOGGABLE(ClassType, ClassInstance, OutputStreamInstance) el::base::type::ostream_t& operator<<(el::base::type::ostream_t& OutputStreamInstance, const ClassType& ClassInstance) |
#define | PCHECK(condition) CPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
#define | PERFORMANCE_CHECKPOINT(obj) obj->checkpoint(std::string(), __FILE__, __LINE__, ELPP_FUNC) |
#define | PERFORMANCE_CHECKPOINT_WITH_ID(obj, id) obj->checkpoint(id, __FILE__, __LINE__, ELPP_FUNC) |
#define | PLOG(LEVEL) CPLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | PLOG_IF(condition, LEVEL) CPLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
#define | SHARE_EASYLOGGINGPP(initializedStorage) |
#define | START_EASYLOGGINGPP(argc, argv) el::Helpers::setArgs(argc, argv) |
#define | STRCAT(a, b, len) strcat(a, b) |
#define | STRCPY(a, b, len) strcpy(a, b) |
#define | STRERROR(a, b, c) strerror(c) |
#define | STRTOK(a, b, c) strtok(a, b) |
#define | SYSLOG(LEVEL) el::base::NullWriter() |
#define | SYSLOG_AFTER_N(n, LEVEL) el::base::NullWriter() |
#define | SYSLOG_EVERY_N(n, LEVEL) el::base::NullWriter() |
#define | SYSLOG_IF(condition, LEVEL) el::base::NullWriter() |
#define | SYSLOG_N_TIMES(n, LEVEL) el::base::NullWriter() |
#define | TIMED_BLOCK(obj, blockName) |
#define | TIMED_FUNC(obj) TIMED_SCOPE(obj, ELPP_FUNC) |
#define | TIMED_FUNC_IF(obj, condition) TIMED_SCOPE_IF(obj, ELPP_FUNC, condition) |
Performance tracked function. Performance gets written when goes out of scope using 'performance' logger. More... | |
#define | TIMED_SCOPE(obj, blockname) TIMED_SCOPE_IF(obj, blockname, true) |
#define | TIMED_SCOPE_IF(obj, blockname, condition) |
Performance tracked scope. Performance gets written when goes out of scope using 'performance' logger. More... | |
#define | VLOG(vlevel) CVLOG(vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | VLOG_AFTER_N(n, vlevel) CVLOG_AFTER_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | VLOG_EVERY_N(n, vlevel) CVLOG_EVERY_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | VLOG_IF(condition, vlevel) CVLOG_IF(condition, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
#define | VLOG_IS_ON(verboseLevel) (ELPP->vRegistry()->allowed(verboseLevel, __FILE__)) |
Determines whether verbose logging is on for specified level current file. More... | |
#define | VLOG_N_TIMES(n, vlevel) CVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Typedefs | |
typedef char | el::base::type::char_t |
typedef unsigned int | el::base::type::EnumType |
typedef std::shared_ptr< base::type::fstream_t > | el::base::FileStreamPtr |
typedef std::function< std::string(const LogMessage *)> | el::FormatSpecifierValueResolver |
Resolving function for format specifier. More... | |
typedef std::fstream | el::base::type::fstream_t |
typedef unsigned long int | el::base::type::LineNumber |
typedef std::shared_ptr< LogBuilder > | el::LogBuilderPtr |
typedef std::shared_ptr< LogDispatchCallback > | el::base::type::LogDispatchCallbackPtr |
typedef std::shared_ptr< LoggerRegistrationCallback > | el::base::type::LoggerRegistrationCallbackPtr |
typedef std::unordered_map< std::string, FileStreamPtr > | el::base::LogStreamsReferenceMap |
typedef SubsecondPrecision | el::base::MillisecondsWidth |
Type alias of SubsecondPrecision. More... | |
typedef base::threading::internal::NoMutex | el::base::threading::Mutex |
typedef std::ostream | el::base::type::ostream_t |
typedef std::unique_ptr< el::base::PerformanceTracker > | el::base::type::PerformanceTrackerPtr |
typedef std::shared_ptr< PerformanceTrackingCallback > | el::base::type::PerformanceTrackingCallbackPtr |
typedef std::function< void(const char *, std::size_t)> | el::PreRollOutCallback |
typedef base::threading::internal::NoScopedLock< base::threading::Mutex > | el::base::threading::ScopedLock |
typedef std::shared_ptr< base::Storage > | el::base::type::StoragePointer |
typedef std::string | el::base::type::string_t |
typedef std::stringstream | el::base::type::stringstream_t |
typedef unsigned short | el::base::type::VerboseLevel |
Functions | |
template<typename Enum > | |
static void | el::base::utils::addFlag (Enum e, base::type::EnumType *flag) |
template<typename Enum > | |
static base::type::EnumType | el::base::utils::bitwise::And (Enum e, base::type::EnumType flag) |
static void | el::base::defaultPreRollOutCallback (const char *, std::size_t) |
static std::string | el::base::threading::getCurrentThreadId (void) |
template<typename Enum > | |
static bool | el::base::utils::hasFlag (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::removeFlag (Enum e, base::type::EnumType *flag) |
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. More... | |
#define CCHECK | ( | condition, | |
... | |||
) | CLOG_IF(!(condition), FATAL, __VA_ARGS__) << "Check failed: [" << #condition << "] " |
Definition at line 4481 of file easylogging++.h.
Definition at line 4491 of file easylogging++.h.
Definition at line 4485 of file easylogging++.h.
Definition at line 4490 of file easylogging++.h.
Definition at line 4488 of file easylogging++.h.
Definition at line 4489 of file easylogging++.h.
Definition at line 4487 of file easylogging++.h.
Definition at line 4486 of file easylogging++.h.
#define CCHECK_NOTNULL | ( | ptr, | |
... | |||
) | CCHECK((ptr) != nullptr, __VA_ARGS__) |
Definition at line 4499 of file easylogging++.h.
#define CCHECK_STRCASEEQ | ( | str1, | |
str2, | |||
... | |||
) |
Definition at line 4504 of file easylogging++.h.
#define CCHECK_STRCASENE | ( | str1, | |
str2, | |||
... | |||
) |
Definition at line 4506 of file easylogging++.h.
#define CCHECK_STREQ | ( | str1, | |
str2, | |||
... | |||
) |
Definition at line 4500 of file easylogging++.h.
#define CCHECK_STRNE | ( | str1, | |
str2, | |||
... | |||
) |
Definition at line 4502 of file easylogging++.h.
#define CDEBUG | ( | writer, | |
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG(writer, el::Level::Debug, dispatchAction, __VA_ARGS__) |
Definition at line 4037 of file easylogging++.h.
#define CDEBUG_AFTER_N | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Debug, dispatchAction, __VA_ARGS__) |
Definition at line 4162 of file easylogging++.h.
#define CDEBUG_EVERY_N | ( | writer, | |
occasion, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Debug, dispatchAction, __VA_ARGS__) |
Definition at line 4119 of file easylogging++.h.
#define CDEBUG_IF | ( | writer, | |
condition_, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Debug, dispatchAction, __VA_ARGS__) |
Definition at line 4076 of file easylogging++.h.
#define CDEBUG_N_TIMES | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Debug, dispatchAction, __VA_ARGS__) |
Definition at line 4205 of file easylogging++.h.
#define CERROR | ( | writer, | |
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG(writer, el::Level::Error, dispatchAction, __VA_ARGS__) |
Definition at line 4042 of file easylogging++.h.
#define CERROR_AFTER_N | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Error, dispatchAction, __VA_ARGS__) |
Definition at line 4168 of file easylogging++.h.
#define CERROR_EVERY_N | ( | writer, | |
occasion, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Error, dispatchAction, __VA_ARGS__) |
Definition at line 4125 of file easylogging++.h.
#define CERROR_IF | ( | writer, | |
condition_, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Error, dispatchAction, __VA_ARGS__) |
Definition at line 4082 of file easylogging++.h.
#define CERROR_N_TIMES | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Error, dispatchAction, __VA_ARGS__) |
Definition at line 4211 of file easylogging++.h.
#define CFATAL | ( | writer, | |
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG(writer, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
Definition at line 4047 of file easylogging++.h.
#define CFATAL_AFTER_N | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
Definition at line 4174 of file easylogging++.h.
#define CFATAL_EVERY_N | ( | writer, | |
occasion, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
Definition at line 4131 of file easylogging++.h.
#define CFATAL_IF | ( | writer, | |
condition_, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Fatal, dispatchAction, __VA_ARGS__) |
Definition at line 4088 of file easylogging++.h.
#define CFATAL_N_TIMES | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Fatal, dispatchAction, __VA_ARGS__) |
Definition at line 4217 of file easylogging++.h.
#define CHECK | ( | condition | ) | CCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4483 of file easylogging++.h.
#define CHECK_BOUNDS | ( | val, | |
min, | |||
max | |||
) | CCHECK_BOUNDS(val, min, max, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4498 of file easylogging++.h.
Definition at line 4492 of file easylogging++.h.
Definition at line 4497 of file easylogging++.h.
Definition at line 4495 of file easylogging++.h.
Definition at line 4496 of file easylogging++.h.
Definition at line 4494 of file easylogging++.h.
Definition at line 4493 of file easylogging++.h.
#define CHECK_NOTNULL | ( | ptr | ) | CCHECK_NOTNULL((ptr), ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4508 of file easylogging++.h.
#define CHECK_STRCASEEQ | ( | str1, | |
str2 | |||
) | CCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4511 of file easylogging++.h.
#define CHECK_STRCASENE | ( | str1, | |
str2 | |||
) | CCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4512 of file easylogging++.h.
#define CHECK_STREQ | ( | str1, | |
str2 | |||
) | CCHECK_STREQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4509 of file easylogging++.h.
#define CHECK_STRNE | ( | str1, | |
str2 | |||
) | CCHECK_STRNE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4510 of file easylogging++.h.
#define CINFO | ( | writer, | |
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG(writer, el::Level::Info, dispatchAction, __VA_ARGS__) |
Definition at line 4027 of file easylogging++.h.
#define CINFO_AFTER_N | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Info, dispatchAction, __VA_ARGS__) |
Definition at line 4150 of file easylogging++.h.
#define CINFO_EVERY_N | ( | writer, | |
occasion, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Info, dispatchAction, __VA_ARGS__) |
Definition at line 4107 of file easylogging++.h.
#define CINFO_IF | ( | writer, | |
condition_, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Info, dispatchAction, __VA_ARGS__) |
Definition at line 4064 of file easylogging++.h.
#define CINFO_N_TIMES | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Info, dispatchAction, __VA_ARGS__) |
Definition at line 4193 of file easylogging++.h.
#define CLOG | ( | LEVEL, | |
... | |||
) | C##LEVEL(el::base::Writer, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4251 of file easylogging++.h.
#define CLOG_AFTER_N | ( | n, | |
LEVEL, | |||
... | |||
) | C##LEVEL##_AFTER_N(el::base::Writer, n, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4264 of file easylogging++.h.
#define CLOG_EVERY_N | ( | n, | |
LEVEL, | |||
... | |||
) | C##LEVEL##_EVERY_N(el::base::Writer, n, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4260 of file easylogging++.h.
#define CLOG_IF | ( | condition, | |
LEVEL, | |||
... | |||
) | C##LEVEL##_IF(el::base::Writer, condition, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4255 of file easylogging++.h.
#define CLOG_N_TIMES | ( | n, | |
LEVEL, | |||
... | |||
) | C##LEVEL##_N_TIMES(el::base::Writer, n, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4268 of file easylogging++.h.
#define CPCHECK | ( | condition, | |
... | |||
) | CPLOG_IF(!(condition), FATAL, __VA_ARGS__) << "Check failed: [" << #condition << "] " |
Definition at line 4482 of file easylogging++.h.
#define CPLOG | ( | LEVEL, | |
... | |||
) | C##LEVEL(el::base::PErrorWriter, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4316 of file easylogging++.h.
#define CPLOG_IF | ( | condition, | |
LEVEL, | |||
... | |||
) | C##LEVEL##_IF(el::base::PErrorWriter, condition, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4318 of file easylogging++.h.
#define CSYSLOG | ( | LEVEL, | |
... | |||
) | el::base::NullWriter() |
Definition at line 4377 of file easylogging++.h.
#define CSYSLOG_AFTER_N | ( | n, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4380 of file easylogging++.h.
#define CSYSLOG_EVERY_N | ( | n, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4379 of file easylogging++.h.
#define CSYSLOG_IF | ( | condition, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4378 of file easylogging++.h.
#define CSYSLOG_N_TIMES | ( | n, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4381 of file easylogging++.h.
#define CTRACE | ( | writer, | |
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG(writer, el::Level::Trace, dispatchAction, __VA_ARGS__) |
Definition at line 4052 of file easylogging++.h.
#define CTRACE_AFTER_N | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Trace, dispatchAction, __VA_ARGS__) |
Definition at line 4180 of file easylogging++.h.
#define CTRACE_EVERY_N | ( | writer, | |
occasion, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Trace, dispatchAction, __VA_ARGS__) |
Definition at line 4137 of file easylogging++.h.
#define CTRACE_IF | ( | writer, | |
condition_, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Trace, dispatchAction, __VA_ARGS__) |
Definition at line 4094 of file easylogging++.h.
#define CTRACE_N_TIMES | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Trace, dispatchAction, __VA_ARGS__) |
Definition at line 4223 of file easylogging++.h.
#define CVERBOSE | ( | writer, | |
vlevel, | |||
dispatchAction, | |||
... | |||
) |
Definition at line 4057 of file easylogging++.h.
#define CVERBOSE_AFTER_N | ( | writer, | |
n, | |||
vlevel, | |||
dispatchAction, | |||
... | |||
) | CVERBOSE_IF(writer, ELPP->validateAfterNCounter(__FILE__, __LINE__, n), vlevel, dispatchAction, __VA_ARGS__) |
Definition at line 4186 of file easylogging++.h.
#define CVERBOSE_EVERY_N | ( | writer, | |
occasion, | |||
vlevel, | |||
dispatchAction, | |||
... | |||
) | CVERBOSE_IF(writer, ELPP->validateEveryNCounter(__FILE__, __LINE__, occasion), vlevel, dispatchAction, __VA_ARGS__) |
Definition at line 4143 of file easylogging++.h.
#define CVERBOSE_IF | ( | writer, | |
condition_, | |||
vlevel, | |||
dispatchAction, | |||
... | |||
) |
Definition at line 4100 of file easylogging++.h.
#define CVERBOSE_N_TIMES | ( | writer, | |
n, | |||
vlevel, | |||
dispatchAction, | |||
... | |||
) | CVERBOSE_IF(writer, ELPP->validateNTimesCounter(__FILE__, __LINE__, n), vlevel, dispatchAction, __VA_ARGS__) |
Definition at line 4229 of file easylogging++.h.
#define CVLOG | ( | vlevel, | |
... | |||
) | CVERBOSE(el::base::Writer, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4253 of file easylogging++.h.
#define CVLOG_AFTER_N | ( | n, | |
vlevel, | |||
... | |||
) | CVERBOSE_AFTER_N(el::base::Writer, n, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4266 of file easylogging++.h.
#define CVLOG_EVERY_N | ( | n, | |
vlevel, | |||
... | |||
) | CVERBOSE_EVERY_N(el::base::Writer, n, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4262 of file easylogging++.h.
#define CVLOG_IF | ( | condition, | |
vlevel, | |||
... | |||
) | CVERBOSE_IF(el::base::Writer, condition, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4257 of file easylogging++.h.
#define CVLOG_N_TIMES | ( | n, | |
vlevel, | |||
... | |||
) | CVERBOSE_N_TIMES(el::base::Writer, n, vlevel, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4270 of file easylogging++.h.
#define CWARNING | ( | writer, | |
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG(writer, el::Level::Warning, dispatchAction, __VA_ARGS__) |
Definition at line 4032 of file easylogging++.h.
#define CWARNING_AFTER_N | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_AFTER_N(writer, n, el::Level::Warning, dispatchAction, __VA_ARGS__) |
Definition at line 4156 of file easylogging++.h.
#define CWARNING_EVERY_N | ( | writer, | |
occasion, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_EVERY_N(writer, occasion, el::Level::Warning, dispatchAction, __VA_ARGS__) |
Definition at line 4113 of file easylogging++.h.
#define CWARNING_IF | ( | writer, | |
condition_, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_IF(writer, (condition_), el::Level::Warning, dispatchAction, __VA_ARGS__) |
Definition at line 4070 of file easylogging++.h.
#define CWARNING_N_TIMES | ( | writer, | |
n, | |||
dispatchAction, | |||
... | |||
) | ELPP_WRITE_LOG_N_TIMES(writer, n, el::Level::Warning, dispatchAction, __VA_ARGS__) |
Definition at line 4199 of file easylogging++.h.
#define DCCHECK | ( | condition, | |
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK(condition, __VA_ARGS__) |
Definition at line 4537 of file easylogging++.h.
#define DCCHECK_BOUNDS | ( | val, | |
min, | |||
max, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK_BOUNDS(val, min, max, __VA_ARGS__) |
Definition at line 4544 of file easylogging++.h.
Definition at line 4538 of file easylogging++.h.
Definition at line 4543 of file easylogging++.h.
Definition at line 4541 of file easylogging++.h.
Definition at line 4542 of file easylogging++.h.
Definition at line 4540 of file easylogging++.h.
Definition at line 4539 of file easylogging++.h.
#define DCCHECK_NOTNULL | ( | ptr, | |
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK_NOTNULL((ptr), __VA_ARGS__) |
Definition at line 4545 of file easylogging++.h.
#define DCCHECK_STRCASEEQ | ( | str1, | |
str2, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK_STRCASEEQ(str1, str2, __VA_ARGS__) |
Definition at line 4548 of file easylogging++.h.
#define DCCHECK_STRCASENE | ( | str1, | |
str2, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK_STRCASENE(str1, str2, __VA_ARGS__) |
Definition at line 4549 of file easylogging++.h.
#define DCCHECK_STREQ | ( | str1, | |
str2, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK_STREQ(str1, str2, __VA_ARGS__) |
Definition at line 4546 of file easylogging++.h.
#define DCCHECK_STRNE | ( | str1, | |
str2, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CCHECK_STRNE(str1, str2, __VA_ARGS__) |
Definition at line 4547 of file easylogging++.h.
#define DCHECK | ( | condition | ) | DCCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4551 of file easylogging++.h.
#define DCHECK_BOUNDS | ( | val, | |
min, | |||
max | |||
) | DCCHECK_BOUNDS(val, min, max, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4558 of file easylogging++.h.
#define DCHECK_EQ | ( | a, | |
b | |||
) | DCCHECK_EQ(a, b, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4552 of file easylogging++.h.
#define DCHECK_GE | ( | a, | |
b | |||
) | DCCHECK_GE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4557 of file easylogging++.h.
#define DCHECK_GT | ( | a, | |
b | |||
) | DCCHECK_GT(a, b, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4555 of file easylogging++.h.
#define DCHECK_LE | ( | a, | |
b | |||
) | DCCHECK_LE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4556 of file easylogging++.h.
#define DCHECK_LT | ( | a, | |
b | |||
) | DCCHECK_LT(a, b, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4554 of file easylogging++.h.
#define DCHECK_NE | ( | a, | |
b | |||
) | DCCHECK_NE(a, b, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4553 of file easylogging++.h.
#define DCHECK_NOTNULL | ( | ptr | ) | DCCHECK_NOTNULL((ptr), ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4559 of file easylogging++.h.
#define DCHECK_STRCASEEQ | ( | str1, | |
str2 | |||
) | DCCHECK_STRCASEEQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4562 of file easylogging++.h.
#define DCHECK_STRCASENE | ( | str1, | |
str2 | |||
) | DCCHECK_STRCASENE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4563 of file easylogging++.h.
#define DCHECK_STREQ | ( | str1, | |
str2 | |||
) | DCCHECK_STREQ(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4560 of file easylogging++.h.
#define DCHECK_STRNE | ( | str1, | |
str2 | |||
) | DCCHECK_STRNE(str1, str2, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4561 of file easylogging++.h.
#define DCLOG | ( | LEVEL, | |
... | |||
) | if (ELPP_DEBUG_LOG) CLOG(LEVEL, __VA_ARGS__) |
Definition at line 4413 of file easylogging++.h.
#define DCLOG_AFTER_N | ( | n, | |
LEVEL, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CLOG_AFTER_N(n, LEVEL, __VA_ARGS__) |
Definition at line 4422 of file easylogging++.h.
#define DCLOG_EVERY_N | ( | n, | |
LEVEL, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CLOG_EVERY_N(n, LEVEL, __VA_ARGS__) |
Definition at line 4420 of file easylogging++.h.
#define DCLOG_IF | ( | condition, | |
LEVEL, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CLOG_IF(condition, LEVEL, __VA_ARGS__) |
Definition at line 4417 of file easylogging++.h.
#define DCLOG_N_TIMES | ( | n, | |
LEVEL, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CLOG_N_TIMES(n, LEVEL, __VA_ARGS__) |
Definition at line 4424 of file easylogging++.h.
#define DCLOG_VERBOSE | ( | vlevel, | |
... | |||
) | if (ELPP_DEBUG_LOG) CLOG_VERBOSE(vlevel, __VA_ARGS__) |
Definition at line 4414 of file easylogging++.h.
#define DCPCHECK | ( | condition, | |
... | |||
) | if (ELPP_DEBUG_LOG) CPCHECK(condition, __VA_ARGS__) |
Definition at line 4550 of file easylogging++.h.
#define DCPLOG | ( | LEVEL, | |
... | |||
) | if (ELPP_DEBUG_LOG) C##LEVEL(el::base::PErrorWriter, el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4320 of file easylogging++.h.
#define DCPLOG_IF | ( | condition, | |
LEVEL, | |||
... | |||
) | C##LEVEL##_IF(el::base::PErrorWriter, (ELPP_DEBUG_LOG) && (condition), el::base::DispatchAction::NormalLog, __VA_ARGS__) |
Definition at line 4322 of file easylogging++.h.
#define DCSYSLOG | ( | LEVEL, | |
... | |||
) | el::base::NullWriter() |
Definition at line 4387 of file easylogging++.h.
#define DCSYSLOG_AFTER_N | ( | n, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4390 of file easylogging++.h.
#define DCSYSLOG_EVERY_N | ( | n, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4389 of file easylogging++.h.
#define DCSYSLOG_IF | ( | condition, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4388 of file easylogging++.h.
#define DCSYSLOG_N_TIMES | ( | n, | |
LEVEL, | |||
... | |||
) | el::base::NullWriter() |
Definition at line 4391 of file easylogging++.h.
#define DCVLOG | ( | vlevel, | |
... | |||
) | if (ELPP_DEBUG_LOG) CVLOG(vlevel, __VA_ARGS__) |
Definition at line 4415 of file easylogging++.h.
#define DCVLOG_AFTER_N | ( | n, | |
vlevel, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CVLOG_AFTER_N(n, vlevel, __VA_ARGS__) |
Definition at line 4423 of file easylogging++.h.
#define DCVLOG_EVERY_N | ( | n, | |
vlevel, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CVLOG_EVERY_N(n, vlevel, __VA_ARGS__) |
Definition at line 4421 of file easylogging++.h.
#define DCVLOG_IF | ( | condition, | |
vlevel, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CVLOG_IF(condition, vlevel, __VA_ARGS__) |
Definition at line 4418 of file easylogging++.h.
#define DCVLOG_N_TIMES | ( | n, | |
vlevel, | |||
... | |||
) | if (ELPP_DEBUG_LOG) CVLOG_N_TIMES(n, vlevel, __VA_ARGS__) |
Definition at line 4425 of file easylogging++.h.
#define DLOG | ( | LEVEL | ) | DCLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4442 of file easylogging++.h.
#define DLOG_AFTER_N | ( | n, | |
LEVEL | |||
) | DCLOG_AFTER_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4450 of file easylogging++.h.
#define DLOG_EVERY_N | ( | n, | |
LEVEL | |||
) | DCLOG_EVERY_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4448 of file easylogging++.h.
#define DLOG_IF | ( | condition, | |
LEVEL | |||
) | DCLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4445 of file easylogging++.h.
#define DLOG_N_TIMES | ( | n, | |
LEVEL | |||
) | DCLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4452 of file easylogging++.h.
#define DPCHECK | ( | condition | ) | DCPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4564 of file easylogging++.h.
#define DPLOG | ( | LEVEL | ) | DCPLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4326 of file easylogging++.h.
#define DPLOG_IF | ( | condition, | |
LEVEL | |||
) | DCPLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4327 of file easylogging++.h.
#define DSYSLOG | ( | LEVEL | ) | el::base::NullWriter() |
Definition at line 4392 of file easylogging++.h.
#define DSYSLOG_AFTER_N | ( | n, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4395 of file easylogging++.h.
#define DSYSLOG_EVERY_N | ( | n, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4394 of file easylogging++.h.
#define DSYSLOG_IF | ( | condition, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4393 of file easylogging++.h.
#define DSYSLOG_N_TIMES | ( | n, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4396 of file easylogging++.h.
#define DVLOG | ( | vlevel | ) | DCVLOG(vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4443 of file easylogging++.h.
#define DVLOG_AFTER_N | ( | n, | |
vlevel | |||
) | DCVLOG_AFTER_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4451 of file easylogging++.h.
#define DVLOG_EVERY_N | ( | n, | |
vlevel | |||
) | DCVLOG_EVERY_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4449 of file easylogging++.h.
#define DVLOG_IF | ( | condition, | |
vlevel | |||
) | DCVLOG_IF(condition, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4446 of file easylogging++.h.
#define DVLOG_N_TIMES | ( | n, | |
vlevel | |||
) | DCVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4453 of file easylogging++.h.
#define el_getVALength | ( | ... | ) | el_resolveVALength(0, ## __VA_ARGS__, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0) |
Definition at line 3426 of file easylogging++.h.
Definition at line 3429 of file easylogging++.h.
#define ELPP el::base::elStorage |
Definition at line 2757 of file easylogging++.h.
#define ELPP_ASSERT | ( | expr, | |
msg | |||
) |
Definition at line 158 of file easylogging++.h.
#define ELPP_ASYNC_LOGGING 0 |
Definition at line 269 of file easylogging++.h.
#define ELPP_COMPILER_CLANG 0 |
Definition at line 55 of file easylogging++.h.
#define ELPP_COMPILER_GCC 0 |
Definition at line 27 of file easylogging++.h.
#define ELPP_COMPILER_INTEL 0 |
Definition at line 78 of file easylogging++.h.
#define ELPP_COMPILER_MSVC 0 |
Definition at line 41 of file easylogging++.h.
#define ELPP_COUNTER (ELPP->hitCounters()->getCounter(__FILE__, __LINE__)) |
Gets hit counter for file/line.
Definition at line 3978 of file easylogging++.h.
#define ELPP_COUNTER_POS (ELPP_COUNTER == nullptr ? -1 : ELPP_COUNTER->hitCounts()) |
Gets hit counter position for file/line, -1 if not registered yet.
Definition at line 3980 of file easylogging++.h.
#define ELPP_COUT std::cout |
Definition at line 521 of file easylogging++.h.
#define ELPP_COUT_LINE | ( | logLine | ) | logLine << std::flush |
Definition at line 532 of file easylogging++.h.
#define ELPP_CRASH_HANDLER_INIT |
Definition at line 4571 of file easylogging++.h.
#define ELPP_CRT_DBG_WARNINGS ELPP_COMPILER_MSVC |
Definition at line 43 of file easylogging++.h.
#define ELPP_CURR_FILE_LOGGER_ID el::base::consts::kDefaultLoggerId |
Definition at line 4290 of file easylogging++.h.
#define ELPP_CYGWIN 0 |
Definition at line 73 of file easylogging++.h.
#define ELPP_DEBUG_LOG 1 |
Definition at line 304 of file easylogging++.h.
#define ELPP_ERROR_LOG 1 |
Definition at line 319 of file easylogging++.h.
#define ELPP_EXPORT |
Definition at line 230 of file easylogging++.h.
#define ELPP_FATAL_LOG 1 |
Definition at line 324 of file easylogging++.h.
#define ELPP_FINAL |
Definition at line 262 of file easylogging++.h.
#define ELPP_FUNC "" |
Definition at line 290 of file easylogging++.h.
#define ELPP_INFO_LOG 1 |
Definition at line 309 of file easylogging++.h.
#define ELPP_INIT_EASYLOGGINGPP | ( | val | ) |
Definition at line 4572 of file easylogging++.h.
#define ELPP_INITIALIZE_SYSLOG | ( | id, | |
opt, | |||
fac | |||
) | el::SysLogInitializer elSyslogInit(id, opt, fac) |
Definition at line 3685 of file easylogging++.h.
#define ELPP_INTERNAL_DEBUGGING_ENDL std::endl |
Definition at line 143 of file easylogging++.h.
#define ELPP_INTERNAL_DEBUGGING_MSG | ( | msg | ) | msg |
Definition at line 146 of file easylogging++.h.
#define ELPP_INTERNAL_DEBUGGING_OUT_ERROR std::cerr |
Definition at line 140 of file easylogging++.h.
#define ELPP_INTERNAL_DEBUGGING_OUT_INFO std::cout |
Definition at line 137 of file easylogging++.h.
#define ELPP_INTERNAL_DEBUGGING_WRITE_PERROR ELPP_INTERNAL_DEBUGGING_OUT_ERROR << ": " << strerror(errno) << " [" << errno << "]"; (void)0 |
Definition at line 173 of file easylogging++.h.
#define ELPP_INTERNAL_ERROR | ( | msg, | |
pe | |||
) |
Definition at line 187 of file easylogging++.h.
#define ELPP_INTERNAL_INFO | ( | lvl, | |
msg | |||
) |
Definition at line 201 of file easylogging++.h.
#define ELPP_ITERATOR_CONTAINER_LOG_FIVE_ARG | ( | temp | ) |
Definition at line 2957 of file easylogging++.h.
#define ELPP_ITERATOR_CONTAINER_LOG_FOUR_ARG | ( | temp | ) |
Definition at line 2952 of file easylogging++.h.
#define ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG | ( | temp | ) |
Definition at line 2937 of file easylogging++.h.
#define ELPP_ITERATOR_CONTAINER_LOG_THREE_ARG | ( | temp | ) |
Definition at line 2947 of file easylogging++.h.
#define ELPP_ITERATOR_CONTAINER_LOG_TWO_ARG | ( | temp | ) |
Definition at line 2942 of file easylogging++.h.
#define ELPP_LITERAL | ( | txt | ) | txt |
Definition at line 516 of file easylogging++.h.
#define ELPP_LOGGING_ENABLED 1 |
Definition at line 301 of file easylogging++.h.
#define ELPP_MIN_UNIT el::base::TimestampUnit::Millisecond |
Definition at line 3949 of file easylogging++.h.
#define ELPP_MINGW 0 |
Definition at line 68 of file easylogging++.h.
#define ELPP_OS_AIX 0 |
Definition at line 111 of file easylogging++.h.
#define ELPP_OS_ANDROID 0 |
Definition at line 127 of file easylogging++.h.
#define ELPP_OS_FREEBSD 0 |
Definition at line 101 of file easylogging++.h.
#define ELPP_OS_LINUX 0 |
Definition at line 91 of file easylogging++.h.
#define ELPP_OS_MAC 0 |
Definition at line 96 of file easylogging++.h.
#define ELPP_OS_NETBSD 0 |
Definition at line 116 of file easylogging++.h.
#define ELPP_OS_SOLARIS 0 |
Definition at line 106 of file easylogging++.h.
#define ELPP_OS_UNIX 0 |
Definition at line 122 of file easylogging++.h.
#define ELPP_OS_WINDOWS 0 |
Definition at line 85 of file easylogging++.h.
#define ELPP_SIMPLE_LOG | ( | LOG_TYPE | ) |
Definition at line 2902 of file easylogging++.h.
#define ELPP_STACKTRACE 0 |
Definition at line 215 of file easylogging++.h.
#define ELPP_STRLEN strlen |
Definition at line 517 of file easylogging++.h.
#define ELPP_THREADING_ENABLED 0 |
Definition at line 274 of file easylogging++.h.
#define ELPP_TRACE CLOG(TRACE, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4293 of file easylogging++.h.
#define ELPP_TRACE_LOG 1 |
Definition at line 329 of file easylogging++.h.
Definition at line 218 of file easylogging++.h.
#define ELPP_USE_DEF_CRASH_HANDLER true |
Definition at line 4569 of file easylogging++.h.
#define ELPP_USE_STD_THREADING 0 |
Definition at line 257 of file easylogging++.h.
#define ELPP_VARIADIC_TEMPLATES_SUPPORTED (ELPP_COMPILER_GCC || ELPP_COMPILER_CLANG || ELPP_COMPILER_INTEL || (ELPP_COMPILER_MSVC && _MSC_VER >= 1800)) |
Definition at line 295 of file easylogging++.h.
#define ELPP_VERBOSE_LOG 1 |
Definition at line 334 of file easylogging++.h.
#define ELPP_WARNING_LOG 1 |
Definition at line 314 of file easylogging++.h.
#define ELPP_WRITE_LOG | ( | writer, | |
level, | |||
dispatchAction, | |||
... | |||
) | writer(level, __FILE__, __LINE__, ELPP_FUNC, dispatchAction).construct(el_getVALength(__VA_ARGS__), __VA_ARGS__) |
Definition at line 3430 of file easylogging++.h.
Definition at line 3437 of file easylogging++.h.
#define ELPP_WRITE_LOG_EVERY_N | ( | writer, | |
occasion, | |||
level, | |||
dispatchAction, | |||
... | |||
) |
Definition at line 3434 of file easylogging++.h.
Definition at line 3432 of file easylogging++.h.
Definition at line 3440 of file easylogging++.h.
#define ELPP_WX_ENABLED | ( | ContainerType | ) |
Definition at line 3172 of file easylogging++.h.
#define ELPP_WX_HASH_MAP_ENABLED | ( | ContainerType | ) |
Definition at line 3173 of file easylogging++.h.
#define ELPP_WX_PTR_ENABLED | ( | ContainerType | ) |
Definition at line 3171 of file easylogging++.h.
#define elpptime localtime |
Definition at line 462 of file easylogging++.h.
#define elpptime_r localtime_r |
Definition at line 460 of file easylogging++.h.
#define elpptime_s localtime_s |
Definition at line 461 of file easylogging++.h.
#define INITIALIZE_EASYLOGGINGPP ELPP_INIT_EASYLOGGINGPP(new el::base::Storage(el::LogBuilderPtr(new el::base::DefaultLogBuilder()))) |
Definition at line 4584 of file easylogging++.h.
#define INITIALIZE_NULL_EASYLOGGINGPP |
Definition at line 4586 of file easylogging++.h.
#define LOG | ( | LEVEL | ) | CLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4295 of file easylogging++.h.
#define LOG_AFTER_N | ( | n, | |
LEVEL | |||
) | CLOG_AFTER_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4303 of file easylogging++.h.
#define LOG_EVERY_N | ( | n, | |
LEVEL | |||
) | CLOG_EVERY_N(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4301 of file easylogging++.h.
#define LOG_IF | ( | condition, | |
LEVEL | |||
) | CLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4298 of file easylogging++.h.
#define LOG_N_TIMES | ( | n, | |
LEVEL | |||
) | CLOG_N_TIMES(n, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4305 of file easylogging++.h.
#define MAKE_CONTAINERELPP_FRIENDLY | ( | ContainerType, | |
SizeMethod, | |||
ElementInstance | |||
) |
Macro used internally that can be used externally to make containers easylogging++ friendly.
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 |
Definition at line 3146 of file easylogging++.h.
#define MAKE_LOGGABLE | ( | ClassType, | |
ClassInstance, | |||
OutputStreamInstance | |||
) | el::base::type::ostream_t& operator<<(el::base::type::ostream_t& OutputStreamInstance, const ClassType& ClassInstance) |
Definition at line 3665 of file easylogging++.h.
#define PCHECK | ( | condition | ) | CPCHECK(condition, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4484 of file easylogging++.h.
#define PERFORMANCE_CHECKPOINT | ( | obj | ) | obj->checkpoint(std::string(), __FILE__, __LINE__, ELPP_FUNC) |
Definition at line 3973 of file easylogging++.h.
#define PERFORMANCE_CHECKPOINT_WITH_ID | ( | obj, | |
id | |||
) | obj->checkpoint(id, __FILE__, __LINE__, ELPP_FUNC) |
Definition at line 3974 of file easylogging++.h.
#define PLOG | ( | LEVEL | ) | CPLOG(LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4324 of file easylogging++.h.
#define PLOG_IF | ( | condition, | |
LEVEL | |||
) | CPLOG_IF(condition, LEVEL, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4325 of file easylogging++.h.
#define SHARE_EASYLOGGINGPP | ( | initializedStorage | ) |
Definition at line 4593 of file easylogging++.h.
#define START_EASYLOGGINGPP | ( | argc, | |
argv | |||
) | el::Helpers::setArgs(argc, argv) |
Definition at line 4604 of file easylogging++.h.
#define SYSLOG | ( | LEVEL | ) | el::base::NullWriter() |
Definition at line 4382 of file easylogging++.h.
#define SYSLOG_AFTER_N | ( | n, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4385 of file easylogging++.h.
#define SYSLOG_EVERY_N | ( | n, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4384 of file easylogging++.h.
#define SYSLOG_IF | ( | condition, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4383 of file easylogging++.h.
#define SYSLOG_N_TIMES | ( | n, | |
LEVEL | |||
) | el::base::NullWriter() |
Definition at line 4386 of file easylogging++.h.
#define TIMED_BLOCK | ( | obj, | |
blockName | |||
) |
Definition at line 3961 of file easylogging++.h.
#define TIMED_FUNC | ( | obj | ) | TIMED_SCOPE(obj, ELPP_FUNC) |
Definition at line 3970 of file easylogging++.h.
Performance tracked function. Performance gets written when goes out of scope using 'performance' logger.
Please note in order to check the performance at a certain time you can use obj->checkpoint();
Definition at line 3969 of file easylogging++.h.
#define TIMED_SCOPE | ( | obj, | |
blockname | |||
) | TIMED_SCOPE_IF(obj, blockname, true) |
Definition at line 3960 of file easylogging++.h.
Performance tracked scope. Performance gets written when goes out of scope using 'performance' logger.
Please note in order to check the performance at a certain time you can use obj->checkpoint();
Definition at line 3958 of file easylogging++.h.
#define VLOG | ( | vlevel | ) | CVLOG(vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4296 of file easylogging++.h.
#define VLOG_AFTER_N | ( | n, | |
vlevel | |||
) | CVLOG_AFTER_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4304 of file easylogging++.h.
#define VLOG_EVERY_N | ( | n, | |
vlevel | |||
) | CVLOG_EVERY_N(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4302 of file easylogging++.h.
#define VLOG_IF | ( | condition, | |
vlevel | |||
) | CVLOG_IF(condition, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4299 of file easylogging++.h.
#define VLOG_IS_ON | ( | verboseLevel | ) | (ELPP->vRegistry()->allowed(verboseLevel, __FILE__)) |
Determines whether verbose logging is on for specified level current file.
Definition at line 3939 of file easylogging++.h.
#define VLOG_N_TIMES | ( | n, | |
vlevel | |||
) | CVLOG_N_TIMES(n, vlevel, ELPP_CURR_FILE_LOGGER_ID) |
Definition at line 4306 of file easylogging++.h.