]> git.donarmstrong.com Git - lilypond.git/blobdiff - debug.hh
release: 0.0.2
[lilypond.git] / debug.hh
index fce60a98165b5a744efc9ed678cef1002d4e7cb1..cf2c4ada52876d1228c2d520d62847e025e5fdd8 100644 (file)
--- a/debug.hh
+++ b/debug.hh
@@ -9,7 +9,9 @@
 #define WARN warnout << "warning: "<<__FUNCTION__ << ": "
 extern ostream &warnout ;
 extern ostream *mlog;  
-extern dstream mtor; // monitor
+extern Dstream monitor; // monitor
+
+#define mtor monitor.identify_as(__PRETTY_FUNCTION__)
 
 void error(String s);
 void warning(String s);