summaryrefslogtreecommitdiff
path: root/src/luma/app_t/dbgmsgf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/luma/app_t/dbgmsgf.cc')
-rw-r--r--src/luma/app_t/dbgmsgf.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/luma/app_t/dbgmsgf.cc b/src/luma/app_t/dbgmsgf.cc
new file mode 100644
index 0000000..fe0631c
--- /dev/null
+++ b/src/luma/app_t/dbgmsgf.cc
@@ -0,0 +1,6 @@
+# include <luma/main.hh>
+void luma::app_t::dbgmsgf(char const * msg) {
+ if constexpr(debug) {
+ this->msgferr(msg);
+ }
+}