fixed LogInfo.h include at List.cpp

This commit is contained in:
2021-01-15 20:26:41 +08:00
parent 90cf3d825c
commit 27058bd1f2
2 changed files with 4 additions and 9 deletions

View File

@@ -1,19 +1,11 @@
#ifndef HGL_LOGGER_INCLUDE
#define HGL_LOGGER_INCLUDE
#include<hgl/type/String.h>
#include<hgl/log/LogInfo.h>
namespace hgl
{
namespace logger
{
enum LogLevel
{
llError=0, //错误,肯定出对话框
llProblem, //问题,默认出对话框
llHint, //提示不重要debug状态默认出对话框
llLog //记录一下
};//enum LogLevel
/**
* 日志输出基类
*/

View File

@@ -5,6 +5,9 @@
#include <time.h>
#endif
#include<hgl/log/LogInfo.h>
#include<hgl/type/String.h>
//--------------------------------------------------------------------------------------------------
// 代码中的部分memcpy可替换为memmove,但这样会引起CodeGuard/Valgrind之类的内存调试器报错
//--------------------------------------------------------------------------------------------------