FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
i2c::debug::I2CDebugLiveLogger< OSTREAM > Class Template Reference

Class tracing I2C debug notifications live to out. More...

#include <fastarduino/i2c_debug.h>

Inheritance diagram for i2c::debug::I2CDebugLiveLogger< OSTREAM >:

Public Member Functions

 I2CDebugLiveLogger (OSTREAM &out, DEBUG debug=DEBUG::DEBUG_ALL)
 Create an I2CDebugLiveLogger that can trace live I2C notifications determined by debug list. More...
 

Detailed Description

template<typename OSTREAM>
class i2c::debug::I2CDebugLiveLogger< OSTREAM >

Class tracing I2C debug notifications live to out.

Warning
Do not use this with asynchronous (ISR-based) I2C Managers! if you use an asynchronous I2C Manager, then use I2CDebugRecorder instead.
See also
i2c::DebugStatus
I2CDebugRecorder

Definition at line 275 of file i2c_debug.h.

Constructor & Destructor Documentation

◆ I2CDebugLiveLogger()

template<typename OSTREAM >
i2c::debug::I2CDebugLiveLogger< OSTREAM >::I2CDebugLiveLogger ( OSTREAM &  out,
DEBUG  debug = DEBUG::DEBUG_ALL 
)
inline

Create an I2CDebugLiveLogger that can trace live I2C notifications determined by debug list.

I2C notifications are output to out.

Parameters
outthe streams::ostream to output traces to
debugthe list of notifications to trace

Definition at line 285 of file i2c_debug.h.


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