提交 4a183c41 编写于 作者: G groot

add log

上级 736c348c
......@@ -179,6 +179,11 @@ Cache<ItemObj>::print() {
}
SERVER_LOG_DEBUG << "[Cache item count]: " << cache_count;
#if 0
for (auto it = lru_.begin(); it != lru_.end(); ++it) {
SERVER_LOG_DEBUG << it->first;
}
#endif
SERVER_LOG_DEBUG << "[Cache usage]: " << usage_ << " bytes";
SERVER_LOG_DEBUG << "[Cache capacity]: " << capacity_ << " bytes";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册