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.

loggersetup.h 339B

1234567891011121314151617181920212223242526272829
  1. #pragma once
  2. #include <string>
  3. #include "spdlog/spdlog.h"
  4. //forward declarations
  5. namespace sol {
  6. class state;
  7. }
  8. namespace vtk {
  9. class LoggerSetup {
  10. public:
  11. LoggerSetup();
  12. void setLogFolder(const std::string& path);
  13. void setup();
  14. static void registerScriptInterface(sol::state& lua);
  15. protected:
  16. std::string mLogFolder;
  17. };
  18. }