21 #define WRN_CONFIG LOG_STREAM(warn, log_config_pn)
This class represents a single stored chat message.
lg::log_domain log_config_pn("config")
void truncate_as_ucs4(utf8::string &str, const size_t size)
Truncates a UTF-8 string to the specified number of characters.
void truncate_message(const simple_wml::string_span &str, simple_wml::node &message)
Function to ensure a text message is within the allowed length.
node & set_attr_dup(const char *key, const char *value)
const char * begin() const
Standard logging facilities (interface).
GLsizei GLenum GLuint GLuint GLsizei char * message
GLsizei const GLcharARB ** string
const size_t max_message_length