|
algorithms
2.2.0
Framework-independent algorithms for the EIC
|
#include <algorithms/logger.h>
Public Types | |
| using | LogAction = std::function<void(LogLevel, std::string_view, std::string_view)> |
| Public Types inherited from algorithms::Configurable | |
| using | PropertyMap = std::map<std::string_view, PropertyBase&> |
Public Member Functions | |
| void | defaultLevel (const LogLevel l) |
| LogLevel | defaultLevel () const |
| void | init () |
| void | init (LogAction a) |
| void | report (const LogLevel l, std::string_view caller, std::string_view msg) const |
| Public Member Functions inherited from algorithms::Service< LogSvc > | |
| Service (std::string_view name) | |
| Public Member Functions inherited from algorithms::ServiceBase | |
| bool | ready () const |
| void | ready (bool state) |
| Public Member Functions inherited from algorithms::Configurable | |
| template<typename T> | |
| void | setProperty (std::string_view name, T &&value) |
| template<typename T> | |
| T | getProperty (std::string_view name) const |
| const PropertyMap & | getProperties () const |
| bool | hasProperty (std::string_view name) const |
| auto | missingProperties () const |
| void | validate () const |
| Public Member Functions inherited from algorithms::NameMixin | |
| NameMixin (std::string_view name, std::string_view description) | |
| std::string_view | name () const |
| std::string_view | description () const |
Additional Inherited Members | |
| Static Public Member Functions inherited from algorithms::Service< LogSvc > | |
| static LogSvc & | instance () |
| using algorithms::LogSvc::LogAction = std::function<void(LogLevel, std::string_view, std::string_view)> |
|
inline |
|
inline |