D++ (DPP)
C++ Discord API Bot Library
|
Log messages. More...
#include <dispatcher.h>
Public Member Functions | |
log_t (class discord_client *client, const std::string &raw) | |
Public Attributes | |
loglevel | severity |
std::string | message |
std::string | raw_event |
class discord_client * | from |
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