~thumper/nux/more-leaks

« back to all changes in this revision

Viewing changes to NuxCore/Logger.h

Update CairoFont to initialise all of its variables.
Fix the uninitialised variable in NGNUSerialFileWriter.
Update the Logger block macros for the enum changes.
Add ObjectType to the Object header file.
Fix the uninitialised variable in the NCriticalSection
where pthread_mutex_init was getting random attributes.
Fix up the array deletes in IOpenGLGLSLShader.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
 
50
50
// We shouldn't really be logging block level information at anything higher
51
51
// than debug.
52
 
#define LOG_TRACE_BLOCK(logger) ::nux::logging::BlockTracer _block_tracer_ ## __LINE__ (logger, ::nux::logging::TRACE, __PRETTY_FUNC__, __FILE__, __LINE__)
53
 
#define LOG_DEBUG_BLOCK(logger) ::nux::logging::BlockTracer _block_tracer_ ## __LINE__ (logger, ::nux::logging::DEBUG, __PRETTY_FUNC__, __FILE__, __LINE__)
 
52
#define LOG_TRACE_BLOCK(logger) ::nux::logging::BlockTracer _block_tracer_ ## __LINE__ (logger, ::nux::logging::Trace, __PRETTY_FUNCTION__, __FILE__, __LINE__)
 
53
#define LOG_DEBUG_BLOCK(logger) ::nux::logging::BlockTracer _block_tracer_ ## __LINE__ (logger, ::nux::logging::Debug, __PRETTY_FUNCTION__, __FILE__, __LINE__)
54
54
 
55
55
 
56
56
namespace nux {