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