Session类构造析构跟踪日志统一在底层网络框架打印

This commit is contained in:
xiongziliang
2023-04-22 23:30:22 +08:00
parent f1037e3767
commit de8249592e
9 changed files with 9 additions and 28 deletions

View File

@@ -25,13 +25,10 @@ static onceToken s_token([]() {
}, nullptr);
ShellSession::ShellSession(const Socket::Ptr &_sock) : Session(_sock) {
DebugP(this);
pleaseInputUser();
}
ShellSession::~ShellSession() {
DebugP(this);
}
ShellSession::~ShellSession() = default;
void ShellSession::onRecv(const Buffer::Ptr&buf) {
//DebugL << hexdump(buf->data(), buf->size());