JeVois  1.18
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 269 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 

Constructor, logs "file:function Enter".

Definition at line 273 of file Log.H.

References jevois::imu::file, and jevois::traceLevel.

◆ ~TraceObject()

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

Destructor, logs "file:function Exit".

Definition at line 278 of file Log.H.

References jevois::traceLevel.

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