Namespaces | Defines | Enumerations | Variables

PolyVoxCore/include/PolyVoxCore/Log.h File Reference

#include "PolyVoxImpl/TypeDef.h"
#include <string>
Include dependency graph for Log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  PolyVox
 

Main namespace.


Defines

#define POLYVOX_LOG_DEBUG(message)
#define POLYVOX_LOG_INFO(message)   if(logHandler){logHandler(message, LS_INFO);}
#define POLYVOX_LOG_WARN(message)   if(logHandler){logHandler(message, LS_WARN);}
#define POLYVOX_LOG_ERROR(message)   if(logHandler){logHandler(message, LS_ERROR);}

Enumerations

enum  PolyVox::LogSeverity { PolyVox::LS_DEBUG, PolyVox::LS_INFO, PolyVox::LS_WARN, PolyVox::LS_ERROR }
 

Log levels for filtering logging events.

More...

Variables

POLYVOX_API void(* PolyVox::logHandler )(std::string, int severity)

Define Documentation

#define POLYVOX_LOG_DEBUG (   message  ) 

Definition at line 55 of file Log.h.

#define POLYVOX_LOG_ERROR (   message  )     if(logHandler){logHandler(message, LS_ERROR);}

Definition at line 61 of file Log.h.

#define POLYVOX_LOG_INFO (   message  )     if(logHandler){logHandler(message, LS_INFO);}

Definition at line 59 of file Log.h.

#define POLYVOX_LOG_WARN (   message  )     if(logHandler){logHandler(message, LS_WARN);}

Definition at line 60 of file Log.h.