285 static void SetLogPath(
const wchar_t* pWcsLogPath =
nullptr);
362 DeclareGetClassType();
365 static CLog* GetInstance();
367 CInternalLog* m_pInternal;
Top-level base class of FLImaging.
Definition FLBase.h:36
Log class.
Definition Log.h:36
static const wchar_t * GetLogFileName()
Get log save file name.
static CFLBase * GetReceiver()
Return log callback receive object pointer.
static const CResult __stdcall WriteWithColor(uint32_t u32Color, const wchar_t *pWcsFormat,...)
Write log with specified color.
static bool IsInitialized()
Get initialization status.
static const wchar_t * GetLogFileNameWithPath()
Get log save file name including path.
static const CResult __stdcall Write(const wchar_t *pWcsFormat,...)
Write log.
static const CResult __stdcall WriteWithColor(uint32_t u32Color, const char *pszFormat,...)
Write log with specified color.
static const CResult __stdcall Write(const char *pszFormat,...)
Write log.
static int64_t GetLogBufferSize()
Get size of buffer to create when writing a log.
static const CResult Initialize()
Initialize.
static CLogCallbackProcType GetLogCallback()
Set log callback.
static const CResult __stdcall WriteByCategory(const wchar_t *pWcsCategory, const wchar_t *pWcsFormat,...)
Write log by specified categories.
static const CResult __stdcall WriteWithColorByCategory(const char *pszCategory, uint32_t u32Color, const char *pszFormat,...)
Write log with specified color and category.
static const CResult Terminate()
Terminate the log system. After explicitly calling the function, the log recording function will no l...
static const wchar_t * GetLogPathName()
Get log save path.
static void SetLogCallback(CLogCallbackProcType pCallback, CFLBase *pReceiver)
Set log callback.
static void SetLogPath(const wchar_t *pWcsLogPath=nullptr)
Specify log storage path.
static const CResult SetLogBufferSize(int64_t i64BufferSize=65536)
Set the size of the buffer to create when writing a log.
static const CResult __stdcall WriteWithColorByCategory(const wchar_t *pWcsCategory, uint32_t u32Color, const wchar_t *pWcsFormat,...)
Write log with specified color and category.
static const CResult __stdcall WriteByCategory(const char *pszCategory, const char *pszFormat,...)
Write log by specified categories.
FLImaging module execution result object.
Definition ResultsDef.h:1514
void(__stdcall * CLogCallbackProcType)(const wchar_t *, CFLBase *)
Log Callback Procedure Type.
Definition Log.h:27