Confirmed setting default log file to NUL on Windows works the same as /dev/null on Linux. Also placed a forgotten semicolon
This commit is contained in:
2
main.cpp
2
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
|
||||
|
Reference in New Issue
Block a user