KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pns_debug_decorator.h File Reference
#include <math/vector2d.h>
#include <math/box2.h>
#include <geometry/seg.h>
#include <geometry/shape_line_chain.h>
#include <geometry/shape_rect.h>
#include <gal/color4d.h>

Go to the source code of this file.

Classes

class  PNS::DEBUG_DECORATOR
 
struct  PNS::DEBUG_DECORATOR::SRC_LOCATION_INFO
 

Namespaces

namespace  PNS
 Push and Shove diff pair dimensions (gap) settings dialog.
 

Macros

#define PNS_SILENCE_DEBUG   0
 
#define PNS_DBG(dbg, method, ...)
 
#define PNS_DBGN(dbg, method)
 

Macro Definition Documentation

◆ PNS_DBG

#define PNS_DBG (   dbg,
  method,
  ... 
)
Value:
if( dbg && dbg->IsDebugEnabled() && (!PNS_SILENCE_DEBUG) ) \
dbg->method( __VA_ARGS__, PNS::DEBUG_DECORATOR::SRC_LOCATION_INFO( __FILE__, __FUNCTION__, \
__LINE__ ) );
#define PNS_SILENCE_DEBUG

Definition at line 126 of file pns_debug_decorator.h.

◆ PNS_DBGN

#define PNS_DBGN (   dbg,
  method 
)
Value:
if( dbg && dbg->IsDebugEnabled() && (!PNS_SILENCE_DEBUG) ) \
dbg->method( PNS::DEBUG_DECORATOR::SRC_LOCATION_INFO( __FILE__, __FUNCTION__, __LINE__ ) );

Definition at line 131 of file pns_debug_decorator.h.

◆ PNS_SILENCE_DEBUG

#define PNS_SILENCE_DEBUG   0

Definition at line 124 of file pns_debug_decorator.h.