From b9b6752e83c701cc67241923d2b74dc3a963d243 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 27 9월 2021 13:13:23 +0900 Subject: [PATCH] Ongoing100 #3486 CF AOI Review Review History 프로그램 테스트 및 적용 --- 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