root/vtcross/branches/bhilburn/src/include/vtcross/debug.h @ 139

Revision 139, 317 bytes (checked in by bhilburn, 15 years ago)

Created error.h and debug.h for VTCROSS error/warning reporting.

Line 
1/* Virginia Tech Cognitive Radio Open Source Systems
2 * Virginia Tech, 2009
3 *
4 * LICENSE INFORMATION GOES HERE
5 */
6
7/* DESCRIPTION OF FILE.
8 */
9
10#ifndef DEBUG_H
11#define DEBUG_H
12
13#include <iostream>
14
15extern bool VTCROSS_DEBUG;
16
17#define DEBUG(class, msg) \
18    std::cout << #class << ": " << msg << std::endl;
19
20#endif
Note: See TracBrowser for help on using the browser.