aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/logging.cpp')
-rw-r--r--src/zencore/logging.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zencore/logging.cpp b/src/zencore/logging.cpp
index 90f4e2428..1a0a91b3d 100644
--- a/src/zencore/logging.cpp
+++ b/src/zencore/logging.cpp
@@ -392,6 +392,12 @@ EnableVTMode()
return true;
}
+void
+FlushLogging()
+{
+ spdlog::details::registry::instance().flush_all();
+}
+
} // namespace zen::logging
namespace zen {