summaryrefslogtreecommitdiff
path: root/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.cpp')
-rw-r--r--src/log.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log.cpp b/src/log.cpp
index 641e87ef..7b96fce4 100644
--- a/src/log.cpp
+++ b/src/log.cpp
@@ -185,5 +185,7 @@ void warning(const char *warning_text) {
}
void status(const char *status_text) {
+#ifdef DEBUG
log("Status", "last_function", status_text);
+#endif
}