JeVois  1.5
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
jevois::trace::TraceObject Class Reference

#include <jevois/Debug/Log.H>

Helper class for tracing, issues one message on construction, and another on destruction.

Users would typically use the JEVOIS_TRACE(level) macro rather than this class directly.

Definition at line 240 of file Log.H.

Public Member Functions

 TraceObject (int level, char const *file, char const *func)
 Constructor, logs "file:function Enter". More...
 
 ~TraceObject ()
 Destructor, logs "file:function Exit". More...
 

Constructor & Destructor Documentation

◆ TraceObject()

jevois::trace::TraceObject::TraceObject ( int  level,
char const *  file,
char const *  func 
)
inline

Constructor, logs "file:function Enter".

Definition at line 244 of file Log.H.

References jevois::traceLevel.

◆ ~TraceObject()

jevois::trace::TraceObject::~TraceObject ( )
inline

Destructor, logs "file:function Exit".

Definition at line 249 of file Log.H.

References jevois::traceLevel.


The documentation for this class was generated from the following file: