|
static void | setStorage (base::type::StoragePointer storage) |
| Shares logging repository (base::Storage) More...
|
|
static base::type::StoragePointer | storage () |
|
static void | setArgs (int argc, char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More...
|
|
static void | setArgs (int argc, const char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More...
|
|
static void | setCrashHandler (const el::base::debug::CrashHandler::Handler &crashHandler) |
| Overrides default crash handler and installs custom handler. More...
|
|
static void | crashAbort (int sig, const char *sourceFile="", unsigned int long line=0) |
| Abort due to crash with signal in parameter. More...
|
|
static void | logCrashReason (int sig, bool stackTraceIfAvailable=false, Level level=Level::Fatal, const char *logger=base::consts::kDefaultLoggerId) |
| Logs reason of crash as per sig. More...
|
|
static void | installPreRollOutCallback (const PreRollOutCallback &callback) |
| Installs pre rollout callback, this callback is triggered when log file is about to be rolled out (can be useful for backing up) More...
|
|
static void | uninstallPreRollOutCallback (void) |
| Uninstalls pre rollout callback. More...
|
|
template<typename T > |
static bool | installLogDispatchCallback (const std::string &id) |
| Installs post log dispatch callback, this callback is triggered when log is dispatched. More...
|
|
template<typename T > |
static void | uninstallLogDispatchCallback (const std::string &id) |
| Uninstalls log dispatch callback. More...
|
|
template<typename T > |
static T * | logDispatchCallback (const std::string &id) |
|
template<typename T > |
static bool | installPerformanceTrackingCallback (const std::string &id) |
| Installs post performance tracking callback, this callback is triggered when performance tracking is finished. More...
|
|
template<typename T > |
static void | uninstallPerformanceTrackingCallback (const std::string &id) |
| Uninstalls post performance tracking handler. More...
|
|
template<typename T > |
static T * | performanceTrackingCallback (const std::string &id) |
|
template<typename T > |
static std::string | convertTemplateToStdString (const T &templ) |
| Converts template to std::string - useful for loggable classes to log containers within log(std::ostream&) const. More...
|
|
static const
el::base::utils::CommandLineArgs * | commandLineArgs (void) |
| Returns command line arguments (pointer) provided to easylogging++. More...
|
|
static void | installCustomFormatSpecifier (const CustomFormatSpecifier &customFormatSpecifier) |
| Installs user defined format specifier and handler. More...
|
|
static bool | uninstallCustomFormatSpecifier (const char *formatSpecifier) |
| Uninstalls user defined format specifier and handler. More...
|
|
static bool | hasCustomFormatSpecifier (const char *formatSpecifier) |
| Returns true if custom format specifier is installed. More...
|
|
static void | validateFileRolling (Logger *logger, Level level) |
|
static void | setStorage (base::type::StoragePointer storage) |
| Shares logging repository (base::Storage) More...
|
|
static base::type::StoragePointer | storage () |
|
static void | setArgs (int argc, char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More...
|
|
static void | setArgs (int argc, const char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More...
|
|
static void | setCrashHandler (const el::base::debug::CrashHandler::Handler &crashHandler) |
| Overrides default crash handler and installs custom handler. More...
|
|
static void | crashAbort (int sig, const char *sourceFile="", unsigned int long line=0) |
| Abort due to crash with signal in parameter. More...
|
|
static void | logCrashReason (int sig, bool stackTraceIfAvailable=false, Level level=Level::Fatal, const char *logger=base::consts::kDefaultLoggerId) |
| Logs reason of crash as per sig. More...
|
|
static void | installPreRollOutCallback (const PreRollOutCallback &callback) |
| Installs pre rollout callback, this callback is triggered when log file is about to be rolled out (can be useful for backing up) More...
|
|
static void | uninstallPreRollOutCallback (void) |
| Uninstalls pre rollout callback. More...
|
|
template<typename T > |
static bool | installLogDispatchCallback (const std::string &id) |
| Installs post log dispatch callback, this callback is triggered when log is dispatched. More...
|
|
template<typename T > |
static void | uninstallLogDispatchCallback (const std::string &id) |
| Uninstalls log dispatch callback. More...
|
|
template<typename T > |
static T * | logDispatchCallback (const std::string &id) |
|
template<typename T > |
static bool | installPerformanceTrackingCallback (const std::string &id) |
| Installs post performance tracking callback, this callback is triggered when performance tracking is finished. More...
|
|
template<typename T > |
static void | uninstallPerformanceTrackingCallback (const std::string &id) |
| Uninstalls post performance tracking handler. More...
|
|
template<typename T > |
static T * | performanceTrackingCallback (const std::string &id) |
|
template<typename T > |
static std::string | convertTemplateToStdString (const T &templ) |
| Converts template to std::string - useful for loggable classes to log containers within log(std::ostream&) const. More...
|
|
static const
el::base::utils::CommandLineArgs * | commandLineArgs (void) |
| Returns command line arguments (pointer) provided to easylogging++. More...
|
|
static void | installCustomFormatSpecifier (const CustomFormatSpecifier &customFormatSpecifier) |
| Installs user defined format specifier and handler. More...
|
|
static bool | uninstallCustomFormatSpecifier (const char *formatSpecifier) |
| Uninstalls user defined format specifier and handler. More...
|
|
static bool | hasCustomFormatSpecifier (const char *formatSpecifier) |
| Returns true if custom format specifier is installed. More...
|
|
static void | validateFileRolling (Logger *logger, Level level) |
|
static void | setStorage (base::type::StoragePointer storage) |
| Shares logging repository (base::Storage) More...
|
|
static base::type::StoragePointer | storage () |
|
static void | setArgs (int argc, char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More...
|
|
static void | setArgs (int argc, const char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More...
|
|
static void | setCrashHandler (const el::base::debug::CrashHandler::Handler &crashHandler) |
| Overrides default crash handler and installs custom handler. More...
|
|
static void | crashAbort (int sig, const char *sourceFile="", unsigned int long line=0) |
| Abort due to crash with signal in parameter. More...
|
|
static void | logCrashReason (int sig, bool stackTraceIfAvailable=false, Level level=Level::Fatal, const char *logger=base::consts::kDefaultLoggerId) |
| Logs reason of crash as per sig. More...
|
|
static void | installPreRollOutCallback (const PreRollOutCallback &callback) |
| Installs pre rollout callback, this callback is triggered when log file is about to be rolled out (can be useful for backing up) More...
|
|
static void | uninstallPreRollOutCallback (void) |
| Uninstalls pre rollout callback. More...
|
|
template<typename T > |
static bool | installLogDispatchCallback (const std::string &id) |
| Installs post log dispatch callback, this callback is triggered when log is dispatched. More...
|
|
template<typename T > |
static void | uninstallLogDispatchCallback (const std::string &id) |
| Uninstalls log dispatch callback. More...
|
|
template<typename T > |
static T * | logDispatchCallback (const std::string &id) |
|
template<typename T > |
static bool | installPerformanceTrackingCallback (const std::string &id) |
| Installs post performance tracking callback, this callback is triggered when performance tracking is finished. More...
|
|
template<typename T > |
static void | uninstallPerformanceTrackingCallback (const std::string &id) |
| Uninstalls post performance tracking handler. More...
|
|
template<typename T > |
static T * | performanceTrackingCallback (const std::string &id) |
|
template<typename T > |
static std::string | convertTemplateToStdString (const T &templ) |
| Converts template to std::string - useful for loggable classes to log containers within log(std::ostream&) const. More...
|
|
static const
el::base::utils::CommandLineArgs * | commandLineArgs (void) |
| Returns command line arguments (pointer) provided to easylogging++. More...
|
|
static void | installCustomFormatSpecifier (const CustomFormatSpecifier &customFormatSpecifier) |
| Installs user defined format specifier and handler. More...
|
|
static bool | uninstallCustomFormatSpecifier (const char *formatSpecifier) |
| Uninstalls user defined format specifier and handler. More...
|
|
static bool | hasCustomFormatSpecifier (const char *formatSpecifier) |
| Returns true if custom format specifier is installed. More...
|
|
static void | validateFileRolling (Logger *logger, Level level) |
|
Static helpers for developers.