PolyLogger.h 398 B

123456789101112131415161718192021222324252627
  1. // @package Services
  2. #pragma once
  3. #include "PolyGlobals.h"
  4. #include <stdio.h>
  5. #include <stdarg.h>
  6. #include <string>
  7. #include <iostream>
  8. #ifdef MSVC
  9. #include <windows.h>
  10. #endif
  11. using std::wstring;
  12. using std::string;
  13. namespace Polycode {
  14. class _PolyExport Logger {
  15. public:
  16. Logger(){}
  17. ~Logger(){}
  18. static void log(const char *format, ...);
  19. static void logw(const char *str);
  20. };
  21. }