From e0b6879ec56083e8ae61d3a50b2f0697c85e4cbb Mon Sep 17 00:00:00 2001 From: Maxine Date: Thu, 18 Jul 2024 11:00:16 -0400 Subject: [PATCH] Confirmed setting default log file to NUL on Windows works the same as /dev/null on Linux. Also placed a forgotten semicolon --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index eaadeb4..d0a72ee 100644 --- a/main.cpp +++ b/main.cpp @@ -25,7 +25,7 @@ int main() LOGLEVEL(jlog::severity::debug); // <- see jlog::severity for full list of log levels CONSOLELOGGING(true); // <- Set to true or false to enable/disable logging to console. Useful for release builds of a program. #ifdef _WIN32 - jlog::set_default_logfile("NUL") + jlog::set_default_logfile("NUL"); #else jlog::set_default_logfile("/dev/null"); #endif