Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cLogMgr.h File Reference
#include "cLogAppender.h"
#include "cDebugAssert.h"
#include "cTimeSys.h"
#include "IUnknown.h"
#include "cSingleton.h"
#include "cTimeUnits.h"
#include "cArrayRef.h"
#include "cArrayIUnk.h"
#include "cException.h"
#include "HResult.h"
#include "cUnitTestDecl.h"
#include "cTypeInfo.h"

Go to the source code of this file.

Classes

class  Gray::cLogSubject
 
class  Gray::cLogNexus
 
class  Gray::cLogMgr
 

Namespaces

 Gray
 < The main namespace for all Core functions.
 

Macros

#define LOGF(_x_)   ::Gray::cLogMgr::I().addEventF _x_
 
#define DEBUG_ERR(_x_)   ::Gray::cLogMgr::I().addDebugErrorF _x_
 
#define DEBUG_WARN(_x_)   ::Gray::cLogMgr::I().addDebugWarnF _x_
 
#define DEBUG_LOGF(_x_)   __noop
 
#define DEBUG_MSG(_x_)   __noop
 
#define DEBUG_TRACE(_x_)   __noop
 
#define GEXCEP_CATCH_LOG(desc)   GRAY_TRY_CATCH( ::Gray::cExceptionBase, ex )
 
#define GEXCEP_CATCH_LOG1(desc, arg)   GRAY_TRY_CATCH( ::Gray::cExceptionBase, ex )
 

Detailed Description

Message / Event Log Macros. (Debug Mostly) similar to Log4J (with appenders) formatters per appender to control actual format?

Macro Definition Documentation

◆ DEBUG_ERR

#define DEBUG_ERR (   _x_)    ::Gray::cLogMgr::I().addDebugErrorF _x_

◆ DEBUG_LOGF

#define DEBUG_LOGF (   _x_)    __noop

◆ DEBUG_MSG

#define DEBUG_MSG (   _x_)    __noop

◆ DEBUG_TRACE

#define DEBUG_TRACE (   _x_)    __noop

◆ DEBUG_WARN

#define DEBUG_WARN (   _x_)    ::Gray::cLogMgr::I().addDebugWarnF _x_

◆ GEXCEP_CATCH_LOG

#define GEXCEP_CATCH_LOG (   desc)    GRAY_TRY_CATCH( ::Gray::cExceptionBase, ex )

◆ GEXCEP_CATCH_LOG1

#define GEXCEP_CATCH_LOG1 (   desc,
  arg 
)    GRAY_TRY_CATCH( ::Gray::cExceptionBase, ex )

◆ LOGF

#define LOGF (   _x_)    ::Gray::cLogMgr::I().addEventF _x_