Inheritance diagram for JSONMessage:Public Member Functions | |
| virtual std::string | msg () const =0 |
| return a std::string for the log file | |
| void | log () const |
| generate Boost log record to pass to corresponding sinks | |
| const std::string | json () const |
| create JSON-like output from the data | |
| void | set (const std::string &key, const boost::any &value) |
Protected Member Functions | |
| virtual void | emitLog () const =0 |
| generate Boost log record - this method is called by log() | |
Static Protected Member Functions | |
| static std::string | jsonify (const boost::any &) |
Protected Attributes | |
| std::map< std::string, boost::any > | data_ |