You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
816 B
C
24 lines
816 B
C
|
5 years ago
|
/******************************************************************************
|
||
|
|
Copyright(C):2015~2018 hzleaper
|
||
|
|
FileName:logSpider.h
|
||
|
|
Author:zhikun wu
|
||
|
|
Email:zk.wu@hzleaper.com
|
||
|
|
Tools:vs2010 pc on company
|
||
|
|
Created:2015/04/28
|
||
|
|
History:28:4:2015 17:35
|
||
|
|
*******************************************************************************/
|
||
|
|
#ifndef __LOG_SPIDER_H
|
||
|
|
#define __LOG_SPIDER_H
|
||
|
|
|
||
|
|
#ifdef _USE_SPIDER_LOG
|
||
|
|
#include "LogBySpider.h"
|
||
|
|
#define SPIDER_LOG_INIT(dllPath, logFile) LOG_SPIDER::InitLog(dllPath, logFile)
|
||
|
|
#define SPIDER_LOG_FREE() LOG_SPIDER::FreeLog()
|
||
|
|
#define SPIDER_LOG_STRING(key, value) LOG_SPIDER::LogString(key, value)
|
||
|
|
#else
|
||
|
|
#define SPIDER_LOG_INIT(dllPath, logFile)
|
||
|
|
#define SPIDER_LOG_FREE()
|
||
|
|
#define SPIDER_LOG_STRING(key, value)
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|