|
RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
|
Static helpers for developers. More...
#include <easylogging++.h>
Static Public Member Functions | |
| static void | setStorage (base::type::StoragePointer storage) |
| Shares logging repository (base::Storage) | |
| 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. | |
| static void | setArgs (int argc, const char **argv) |
| Sets application arguments and figures out whats active for logging and whats not. More... | |
| static void | setThreadName (const std::string &name) |
| Sets thread name for current thread. Requires std::thread. | |
| static std::string | getThreadName () |
| 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) | |
| static void | uninstallPreRollOutCallback (void) |
| Uninstalls pre rollout callback. | |
| template<typename T > | |
| static bool | installLogDispatchCallback (const std::string &id) |
| Installs post log dispatch callback, this callback is triggered when log is dispatched. | |
| template<typename T > | |
| static void | uninstallLogDispatchCallback (const std::string &id) |
| Uninstalls log dispatch callback. | |
| template<typename T > | |
| static T * | logDispatchCallback (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. | |
|
static const el::base::utils::CommandLineArgs * | commandLineArgs (void) |
| Returns command line arguments (pointer) provided to easylogging++. | |
| static void | installCustomFormatSpecifier (const CustomFormatSpecifier &customFormatSpecifier) |
| Installs user defined format specifier and handler. | |
| static bool | uninstallCustomFormatSpecifier (const char *formatSpecifier) |
| Uninstalls user defined format specifier and handler. | |
| static bool | hasCustomFormatSpecifier (const char *formatSpecifier) |
| Returns true if custom format specifier is installed. | |
| static void | validateFileRolling (Logger *logger, Level level) |
Static helpers for developers.
|
inlinestatic |
Sets application arguments and figures out whats active for logging and whats not.
|
inlinestatic |
1.8.6