From 12c02f064db12d6d94063bf6dd9e4eb80f4252b8 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 11 10월 2021 15:30:00 +0900 Subject: [PATCH] Ongoing60 #3662 CF AOI Review 전설비 알람 발생 조치 - Review History File Mapping 해제 - Review Inner History 다운 현상 예외처리 추가 - Review End 시 Review 다운 현상 예외처리 추가 --- ReviewHistory/ReveiwHistory/akLoggerExt.h | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/ReveiwHistory/akLoggerExt.h b/ReviewHistory/ReveiwHistory/akLoggerExt.h new file mode 100644 index 0000000..8aa2010 --- /dev/null +++ b/ReviewHistory/ReveiwHistory/akLoggerExt.h @@ -0,0 +1,30 @@ +#pragma once + +#include "akCore/akLogger.h" + +#define _AKLOGGER + + +#if defined _AKLOGGER +#define AKLOG(fmt,...) CakLoggerExt::getInstance()->setLog(fmt,##__VA_ARGS__) +#else +#define AKLOG(fmt,...) +#endif + +#define UM_UPDATE_LOGGER WM_USER+0x2255 + +class CakLoggerExt : public CakLogger +{ +public: + CakLoggerExt(int nBufferSize = 200, int nStringLen = 512 ); + virtual ~CakLoggerExt(void); + + static CakLoggerExt *getInstance() {return &m_Instance;}; + virtual void setLog(char* format, ...); + void LogFileOpen();//NotePad로 열기 +public: + HWND m_hParent; + BOOL m_bScrollAuto; +protected: + static CakLoggerExt m_Instance; +}; -- Gitblit v1.9.3