Change 14888

ShadauxCat (ShadauxCat)
ShadauxCat modified this change into //guest/ShadauxCat/Sprawl/Mainline under Review 14889
View Review
Download .zip
Logging system improvements:

- Changed PrintToFile_Threaded and PrintToFile_ThreadManager to RunHandler_Threaded and RunHandler_ThreadManager to take advantage of the thread logic for any handler (including user-provided handlers)

- Added backtrace functionality and tested on Windows and Linux. Not tested yet on os x so I'm not checking this in yet.

- Added extra macros: LOG_IF, LOG_EVERY_N, LOG_IF_EVERY_N, LOG_FIRST_N, LOG_ONCE, and LOG_ASSERT

-Added thread id in log messages, slightly changed default format

#review-14889
  • Files 9
  • Comments 0
6 edited 3 added 0 deleted
UnitTests/UnitTests_Logging.cpp
Loading...
filesystem/filesystem.cpp
Loading...
filesystem/filesystem_windows.cpp
Loading...
logging/Backtrace.h
Loading...
logging/Backtrace_linux.cpp
Loading...
logging/Backtrace_windows.cpp
Loading...
logging/Logging.cpp
Loading...
logging/Logging.hpp
Loading...
make.py
Loading...
Tip: Use n and p to cycle through the changes.