AyaNova CE Archive added as recovered from storage during attempt to upgrade a customer from v1.7 to v8!

This commit is contained in:
2023-07-14 18:22:24 +00:00
parent 5789b3658a
commit 3683e8cc7a
262 changed files with 118078 additions and 4 deletions

View File

@@ -0,0 +1,53 @@
////////////////////////////////////////////////////////////////////////
// LogTrace.cpp -- Interface for the CLogTrace class
// A class to do debug logging
#ifndef __LOGTRACE_H__
#define __LOGTRACE_H__
class CLogTrace
{
// Construction/Destruction
public:
CLogTrace();
~CLogTrace();
// Attributes
public:
CString m_strAppName;
protected:
BOOL m_bActive;
CString m_strFileName;
BOOL m_bTimeStamp;
// Operations
public:
void WriteLine(LPCTSTR szLine);
void WriteLine(LPCTSTR szFormat, LPCTSTR szAddInfo);
void WriteLine(LPCTSTR szFormat, int nAddInfo);
void ResetFile();
void OnStartup(BOOL bActive, BOOL bTimeStamp);
void SetFileName(LPCTSTR szFileName);
protected:
// Inlines
public:
inline void SetActive(BOOL bSet)
{
m_bActive = bSet;
}
inline CString GetFileName()
{
return m_strFileName;
}
};
#endif // __LOGTRACE_H__