Skip to content

Commit

Permalink
修改Log存在的Bug。
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweihan committed Jun 19, 2017
1 parent 86dd38e commit c9a468a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Src/Edislab/Edislab Pro/Log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
完成日期:2013-07-29
**************************************************************************************************************************************************/
#include "stdafx.h"
#include "log.h"
#include "Log.h"
#include <boost/thread/mutex.hpp>
#include <boost/thread/lock_guard.hpp>
#ifdef _WIN32
Expand All @@ -19,7 +19,11 @@
#define BUFFER_MAX_SIZE (1024 * 10)

//日志文件的最大容量
#define LOG_MAX_SIZE (100 * 1024 * 1024)
#define LOG_MAX_SIZE (100 * 1024 * 1024)

#ifndef _WIN32
#define MAX_PATH (260)
#endif

//用于同步的类
static boost::mutex s_Lock;
Expand Down

0 comments on commit c9a468a

Please sign in to comment.