You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#ifndef __OBJECTFILELOGGINGSERVICE_H_INCL__
#define __OBJECTFILELOGGINGSERVICE_H_INCL__
#include <time.h>
#include "../base/basicFunctionality.h"
#include "../base/basicLoggingService.h"
/**
* TODO: Add class description * * @author Gagua */
#define MAX_LOG_FILE_SIZE 4194304 //4Mega
#define MAX_LOG_FILE_BACKUPS 4
class objectFileLoggingService : public basicLoggingService { private: bool m_bLogging; char m_pFileName[MAX_PATH_LEN]; public: // Constructor
objectFileLoggingService( const char *FileName );
objectFileLoggingService( CSTR FileName );
// Destructor
~objectFileLoggingService(){};
void logMessage( CSTR Msg ); void logMessage( const char *Msg ); // Copy constructor
// TODO: Uncomment the copy constructor when you need it.
//objectFileLoggingService(const objectFileLoggingService& src);
// Assignment operator
// TODO: Uncomment the assignment operator when you need it.
//objectFileLoggingService& operator=(const objectFileLoggingService& src);
};
// TODO: Uncomment the copy constructor when you need it.
//inline objectFileLoggingService::objectFileLoggingService(const objectFileLoggingService& src)
//{
// // TODO: copy
//}
// TODO: Uncomment the assignment operator when you need it.
//inline objectFileLoggingService& objectFileLoggingService::operator=(const objectFileLoggingService& rhs)
//{
// if (this == &rhs) {
// return *this;
// }
//
// // TODO: assignment
//
// return *this;
//}
#endif // __OBJECTFILELOGGINGSERVICE_H_INCL__
|