SA_Maths
Sapphire Suite's C++ Maths Library
Loading...
Searching...
No Matches
Debug.hpp
Go to the documentation of this file.
1// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.
2
3#pragma once
4
5#ifndef SAPPHIRE_MATHS_DEBUG_GUARD
6#define SAPPHIRE_MATHS_DEBUG_GUARD
7
20
21#if SA_LOGGER_IMPL || defined(DOXYGEN)
22
23 // Add Sapphire Logger if implementation linked
24 #include <SA/Collections/Debug>
25
26#else
27
28 // Define empty logger macro.
29
30 #define SA_LOG(...) {}
31
32 #define SA_WARN(...) {}
33
34 #define SA_ERROR(...) {}
35
36
37 #define SA_ASSERT(...) {}
38
39#endif
40
42
45#endif // GUARD