Added a null stream to suppress logging.

This commit is contained in:
Daviw Williams
2013-05-24 13:51:52 +02:00
parent b12e6d045c
commit c1461e7582
2 changed files with 17 additions and 3 deletions

View File

@ -68,6 +68,9 @@ freely, subject to the following restrictions:
namespace PolyVox
{
/// Get a stream which will consume all input without outputting anything.
std::ostream* getNullStream(void);
std::ostream& logTrace(void);
std::ostream& logDebug(void);
std::ostream& logInfo(void);