diff options
Diffstat (limited to 'src/dolphin/Log.h')
-rw-r--r-- | src/dolphin/Log.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/dolphin/Log.h b/src/dolphin/Log.h new file mode 100644 index 0000000..21e69a5 --- /dev/null +++ b/src/dolphin/Log.h @@ -0,0 +1,20 @@ +#pragma once + +#include "CommonFuncs.h" + +#include <stdio.h> + +#define PanicAlert(msg) \ + do \ + { \ + printf("%s\n", msg); \ + Crash(); \ + } while (false) + +#define DYNA_REC 0 + +#define ERROR_LOG(which, fmt, ...) \ + do \ + { \ + printf(fmt "\n", ## __VA_ARGS__); \ + } while (false) |