5 Star 0 Fork 0

CageQ / asyncredis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
logger.hpp 758 Bytes
一键复制 编辑 原始数据 按行查看 历史
cageq 提交于 2018-03-14 14:57 . update
#pragma once
#include <iostream>
#include <stdio.h>
#include <errno.h>
#ifndef NDEBUG
#define DLog( fmt , ... ) printf( "%s(%d)" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__ )
#define ILog( fmt , ... ) printf( "%s(%d)" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__ )
#define ELog( fmt , ... ) printf( "%s(%d)" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__ )
#define WLog( fmt , ... ) printf( "%s(%d)" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__ )
//#define Trace( format, ... ) printf( "%s::%s(%d)" format, __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__ )
#else
#define ILog
#define DLog
#define ELog( fmt , ... ) printf( "%s(%d)" fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__ )
#define WLog
#endif // NODEBUG /
C++
1
https://gitee.com/cageq/asyncredis.git
git@gitee.com:cageq/asyncredis.git
cageq
asyncredis
asyncredis
master

搜索帮助