Logger.h 425 B

1234567891011121314151617
  1. #ifndef INCLUDE_LOGGER_H
  2. #define INCLUDE_LOGGER_H
  3. namespace WalrusRPG
  4. {
  5. // Logging function to show content on screen (with IMGUI branch), console or
  6. // eventually in a file (for nspire?)
  7. namespace Logger
  8. {
  9. void init();
  10. void log(const char *fmt, ...);
  11. void debug(const char *fmt, ...);
  12. void warn(const char *fmt, ...);
  13. void error(const char *fmt, ...);
  14. }
  15. }
  16. #endif