2021-09-13 13:07:00 -04:00
|
|
|
/*
|
|
|
|
* A logging utility...
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LOG_H
|
|
|
|
#define __LOG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Send a message to the debugging channel
|
|
|
|
*/
|
|
|
|
extern void DEBUG(char * message);
|
|
|
|
|
2021-09-19 19:16:41 -04:00
|
|
|
extern void logc(char c);
|
|
|
|
|
|
|
|
#define TRACE(msg) /*DEBUG(msg);*/
|
|
|
|
|
|
|
|
#define TRACEC(c) logc(c);
|
2021-09-13 20:39:41 -04:00
|
|
|
|
|
|
|
#endif
|