ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::np_logitem Struct Reference

日志条目数据结构。 More...

#include <nactor_logitem.h>

Public Attributes

int m_serverid = -1
ELOGLEVEL m_loglevel
 服务器ID
ELOG_TYPE m_type
 日志级别
std::string m_src
 日志类型
std::string m_data
 日志来源(文件:行号)
int32_t m_time = -1
 日志内容

Detailed Description

日志条目数据结构。

用于序列化和传输日志数据,通过DPROTOCOL宏支持二进制序列化。 作为日志Actor的消息载体,实现异步日志投递。


The documentation for this struct was generated from the following file: