|
void | logToFile (bool enable) |
|
void | setLoggingLevel (int level) |
|
int | getLoggingLevel () |
|
void | subscribeLoggingLevel (LoggingLevelNotification onLevelChangeFn) |
|
void | enqueueLog (const std::string log) |
|
void | dumpQueue () |
|
void | setGlobalLoggerPredicate (MessagePredicate pred) |
|
void | info (const std::string &msg, MessagePredicate predicate=std::function< bool(void)>([](){return true;})) |
|
void | warning (const std::string &msg, MessagePredicate predicate=std::function< bool(void)>([](){return true;})) |
|
void | debug (const std::string &msg, MessagePredicate predicate=std::function< bool(void)>([](){return true;})) |
|
void | error (const std::string &msg, MessagePredicate predicate=std::function< bool(void)>([](){return true;})) |
|
|
std::shared_ptr< spdlog::logger > | getLogger () |
|
void | createFileLogger () |
|
| Singleton () |
|
virtual | ~Singleton () |
|
|
std::shared_ptr< spdlog::logger > | stdOutLogger |
|
std::shared_ptr< spdlog::logger > | fileLogger |
|
bool | useCout = false |
|
bool | useFile = false |
|
bool | useColor = true |
|
MessagePredicate | globalPredicate = []() { return true; } |
|
std::vector< LoggingLevelNotification > | loggingLevelSubscribers |
|
std::queue< std::string > | logQueue |
|
The documentation for this class was generated from the following files:
- /home/cades/dev/xacc/xacc/utils/Utils.hpp
- /home/cades/dev/xacc/xacc/utils/Utils.cpp