Moved parts of the logging code into the public API (so users can redirect logs).

This commit is contained in:
David Williams
2015-05-09 08:52:30 +02:00
parent 040dc37057
commit 65b0d1c3c5
3 changed files with 85 additions and 57 deletions

View File

@ -26,6 +26,7 @@ distribution.
#include "PolyVox/Impl/Config.h"
#include "PolyVox/Impl/LoggingImpl.h" // Asserts can log when they fire.
#include "PolyVox/Impl/PlatformDefinitions.h"
// The code below implements a custom assert function called POLYVOX_ASSERT which has a number of advantages compared
// to the standard C/C++ assert(). It is inspired by http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/