fixed LogInfo.h include at List.cpp
This commit is contained in:
@@ -1,19 +1,11 @@
|
|||||||
#ifndef HGL_LOGGER_INCLUDE
|
#ifndef HGL_LOGGER_INCLUDE
|
||||||
#define HGL_LOGGER_INCLUDE
|
#define HGL_LOGGER_INCLUDE
|
||||||
|
|
||||||
#include<hgl/type/String.h>
|
#include<hgl/log/LogInfo.h>
|
||||||
namespace hgl
|
namespace hgl
|
||||||
{
|
{
|
||||||
namespace logger
|
namespace logger
|
||||||
{
|
{
|
||||||
enum LogLevel
|
|
||||||
{
|
|
||||||
llError=0, //错误,肯定出对话框
|
|
||||||
llProblem, //问题,默认出对话框
|
|
||||||
llHint, //提示,不重要,debug状态默认出对话框
|
|
||||||
llLog //记录一下
|
|
||||||
};//enum LogLevel
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 日志输出基类
|
* 日志输出基类
|
||||||
*/
|
*/
|
||||||
|
@@ -5,6 +5,9 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include<hgl/log/LogInfo.h>
|
||||||
|
#include<hgl/type/String.h>
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
// 代码中的部分memcpy可替换为memmove,但这样会引起CodeGuard/Valgrind之类的内存调试器报错
|
// 代码中的部分memcpy可替换为memmove,但这样会引起CodeGuard/Valgrind之类的内存调试器报错
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user