SpectMorph
smdebug.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_DEBUG_HH
4 #define SPECTMORPH_DEBUG_HH
5 
6 #include <string>
7 
8 #include "smutils.hh"
9 
10 namespace SpectMorph
11 {
12 
13 namespace Debug
14 {
15 
16 void debug (const char *area, const char *fmt, ...) SPECTMORPH_PRINTF (2, 3);
17 void enable (const std::string& area);
18 void set_filename (const std::string& filename);
19 
20 }
21 
22 // simple debugging function on "global" area
23 void sm_debug (const char *fmt, ...) SPECTMORPH_PRINTF (1, 2);
24 
25 }
26 
27 #endif
STL namespace.
Definition: smadsrenvelope.hh:8