From 9aa3a8ff940e89bb0b5c75bc8abd0864e4c85874 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 화, 17 8월 2021 10:00:15 +0900 Subject: [PATCH] 이전 머지간 누락된 코드 삽입 --- 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