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.

58 lines
1.4 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __OBJECTCONSOLELOGGINGSERVICE_H_INCL__
  2. #define __OBJECTCONSOLELOGGINGSERVICE_H_INCL__
  3. #include "../base/basicFunctionality.h"
  4. #include "../base/basicLoggingService.h"
  5. #include <time.h>
  6. /**
  7. * TODO: Add class description
  8. *
  9. * @author Gagua
  10. */
  11. class objectConsoleLoggingService : public basicLoggingService
  12. {
  13. private:
  14. bool m_bLogging;
  15. char m_pFileName[MAX_PATH_LEN];
  16. public:
  17. // Constructor
  18. objectConsoleLoggingService();
  19. // Destructor
  20. ~objectConsoleLoggingService() {}
  21. void logMessage(CSTR Msg);
  22. void logMessage(const char * Msg);
  23. // Copy constructor
  24. // TODO: Uncomment the copy constructor when you need it.
  25. // objectFileLoggingService(const objectFileLoggingService& src);
  26. // Assignment operator
  27. // TODO: Uncomment the assignment operator when you need it.
  28. // objectFileLoggingService& operator=(const objectFileLoggingService& src);
  29. };
  30. // TODO: Uncomment the copy constructor when you need it.
  31. // inline objectFileLoggingService::objectFileLoggingService(const objectFileLoggingService& src)
  32. //{
  33. // // TODO: copy
  34. //}
  35. // TODO: Uncomment the assignment operator when you need it.
  36. // inline objectFileLoggingService& objectFileLoggingService::operator=(const objectFileLoggingService& rhs)
  37. //{
  38. // if (this == &rhs) {
  39. // return *this;
  40. // }
  41. //
  42. // // TODO: assignment
  43. //
  44. // return *this;
  45. //}
  46. #endif // __OBJECTFILELOGGINGSERVICE_H_INCL__