|
Electroneum
|
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. | |
| 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 | reserveCustomFormatSpecifiers (std::size_t size) |
| Reserve space for custom format specifiers for performance. | |
| 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.
Definition at line 3715 of file easylogging++.h.
|
inlinestatic |
Returns command line arguments (pointer) provided to easylogging++.
Definition at line 3819 of file easylogging++.h.
|
inlinestatic |
Converts template to std::string - useful for loggable classes to log containers within log(std::ostream&) const.
Definition at line 3799 of file easylogging++.h.

|
inlinestatic |
Definition at line 3737 of file easylogging++.h.
|
inlinestatic |
Returns true if custom format specifier is installed.
Definition at line 3836 of file easylogging++.h.
|
inlinestatic |
Installs user defined format specifier and handler.
Definition at line 3828 of file easylogging++.h.
|
inlinestatic |
Installs post log dispatch callback, this callback is triggered when log is dispatched.
Definition at line 3769 of file easylogging++.h.
|
inlinestatic |
Installs pre rollout callback, this callback is triggered when log file is about to be rolled out (can be useful for backing up).
Definition at line 3760 of file easylogging++.h.

Definition at line 3778 of file easylogging++.h.
|
inlinestatic |
Reserve space for custom format specifiers for performance.
Definition at line 3824 of file easylogging++.h.
|
inlinestatic |
Sets application arguments and figures out whats active for logging and whats not.
Definition at line 3726 of file easylogging++.h.
|
inlinestatic |
Sets application arguments and figures out whats active for logging and whats not.
Definition at line 3730 of file easylogging++.h.
|
inlinestatic |
Shares logging repository (base::Storage).
Definition at line 3718 of file easylogging++.h.

|
inlinestatic |
Sets thread name for current thread. Requires std::thread.
Definition at line 3734 of file easylogging++.h.
|
inlinestatic |
Definition at line 3722 of file easylogging++.h.

|
inlinestatic |
Uninstalls user defined format specifier and handler.
Definition at line 3832 of file easylogging++.h.
|
inlinestatic |
Uninstalls log dispatch callback.
Definition at line 3774 of file easylogging++.h.
|
inlinestatic |
Uninstalls pre rollout callback.
Definition at line 3764 of file easylogging++.h.
Definition at line 3839 of file easylogging++.h.