ISnuviLogger.h 438 B

12345678910111213141516171819202122
  1. #ifndef ISNUVILOGGER_H
  2. #define ISNUVILOGGER_H
  3. #include <string>
  4. #include <exception>
  5. #include "Script.h"
  6. using namespace std;
  7. class ISnuviLogger
  8. {
  9. virtual void print(
  10. const string* message = nullptr,
  11. exception* ex = nullptr,
  12. const string* function = nullptr,
  13. const string* scriptname = nullptr,
  14. const Script* sc = nullptr,
  15. int line = -1) = 0;
  16. };
  17. #endif