#ifndef INCLUDED_UTILITY_LOG
#define INCLUDED_UTILITY_LOG

#include <android/log.h>
#include <sstream>

// I'm putting this one in the global namespace because it's
// supposed to be a helper
#define LOG_INFO( x )
//#define LOG_INFO( x ) 				\
{									\
	std::ostringstream str___str;	\
	str___str << x;					\
	__android_log_write( ANDROID_LOG_INFO, "DubiousLog Engine", str___str.str().c_str() ); \
}

#define LOG_WARN( x )
//#define LOG_WARN( x ) 				\
{									\
	std::ostringstream str___str;	\
	str___str << x;					\
	__android_log_write( ANDROID_LOG_WARN, "DubiousLog Engine", str___str.str().c_str() ); \
}

#endif

