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.

53 lines
1.5 KiB

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