#include <orea/app/structuredanalyticswarning.hpp>
|
| StructuredAnalyticsWarningMessage (const std::string &analyticType, const std::string &warningType, const std::string &warningWhat, const std::map< std::string, std::string > &subFields={}) |
|
| StructuredMessage (const Category &category, const Group &group, const std::string &message, const std::map< std::string, std::string > &subFields=std::map< std::string, std::string >()) |
|
| StructuredMessage (const Category &category, const Group &group, const std::string &message, const std::pair< std::string, std::string > &subField=std::pair< std::string, std::string >()) |
|
virtual | ~StructuredMessage () |
|
std::string | msg () const |
|
void | emitLog () const |
|
virtual | ~JSONMessage () |
|
virtual std::string | msg () const=0 |
|
void | log () const |
|
const std::string | json () const |
|
void | set (const std::string &key, const boost::any &value) |
|
|
enum | Category |
|
enum | Group |
|
static constexpr const char * | name |
|
void | addSubFields (const std::map< std::string, std::string > &) |
|
virtual void | emitLog () const=0 |
|
static std::string | jsonify (const boost::any &) |
|
std::map< std::string, boost::any > | data_ |
|
◆ StructuredAnalyticsWarningMessage()
StructuredAnalyticsWarningMessage |
( |
const std::string & |
analyticType, |
|
|
const std::string & |
warningType, |
|
|
const std::string & |
warningWhat, |
|
|
const std::map< std::string, std::string > & |
subFields = {} |
|
) |
| |
Definition at line 33 of file structuredanalyticswarning.hpp.
35 {})
37 Category::Warning, Group::Analytics, warningWhat,
38 std::map<std::string, std::string>({{"warningType", warningType}, {"analyticType", analyticType}})) {
39
41 }
void addSubFields(const std::map< std::string, std::string > &)
StructuredMessage(const Category &category, const Group &group, const std::string &message, const std::map< std::string, std::string > &subFields=std::map< std::string, std::string >())