BLE NAND for ST Boards

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of N06_NAND by Hugo Pristauz

bricks/trace.h

Committer:
hux
Date:
2018-05-19
Revision:
26:dce30a5341bb
Parent:
23:2e73c391bb12

File content as of revision 26:dce30a5341bb:

// trace.h - tracing
#ifndef _TRACE_H_
#define _TRACE_H_

#include <mbed.h>
#include "bricks/o.h"

   void trace(O&o, int level, const char *msg);  // trace a message
   void trace(O&o, int level, const char*, int); // trace an int value

   void traceln(O&o, int level, const char*msg); // trace with CR & LF
   
   void verbose(O&o, int level = 9999);          // setup verbose level               
   
#endif // _TRACE_H_