![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Log messages. More...
#include <dispatcher.h>
Inheritance diagram for dpp::log_t:
Collaboration diagram for dpp::log_t:Public Member Functions | |
| log_t (class discord_client *client, const std::string &raw) | |
Public Attributes | |
| class discord_client * | from |
| std::string | message |
| std::string | raw_event |
| loglevel | severity |
Log messages.
| dpp::log_t::log_t | ( | class discord_client * | client, |
| const std::string & | raw | ||
| ) |
Constructor
| client | The shard the event originated on. CAN BE NULL for log events originating from the cluster object |
| raw | Raw event text as JSON |
|
inherited |
Shard the event came from
| std::string dpp::log_t::message |
Log Message
|
inherited |
Raw event text
| loglevel dpp::log_t::severity |
Severity