NOOP, remove trailing tabs/whitespace.
[ardour.git] / libs / pbd / debug.cc
index 9150cd68839a087e9ed8ee6693f94e237072631e..af8cd052cde2f594d20bef79308b2739176daa5f 100644 (file)
@@ -53,6 +53,9 @@ DebugBits PBD::DEBUG::EventLoop = PBD::new_debug_bit ("eventloop");
 DebugBits PBD::DEBUG::AbstractUI = PBD::new_debug_bit ("abstractui");
 DebugBits PBD::DEBUG::FileUtils = PBD::new_debug_bit ("fileutils");
 DebugBits PBD::DEBUG::Configuration = PBD::new_debug_bit ("configuration");
+DebugBits PBD::DEBUG::UndoHistory = PBD::new_debug_bit ("undohistory");
+DebugBits PBD::DEBUG::Timing = PBD::new_debug_bit ("timing");
+DebugBits PBD::DEBUG::Threads = PBD::new_debug_bit ("threads");
 
 /* These are debug bits that are used by backends. Since these are loaded dynamically,
    after command-line parsing, defining them in code that is part of the backend
@@ -63,7 +66,6 @@ DebugBits PBD::DEBUG::Configuration = PBD::new_debug_bit ("configuration");
    from dynamically loaded code, for use in command line parsing, is way above the pay grade
    of this debug tracing scheme.
 */
-
 DebugBits PBD::DEBUG::WavesMIDI = PBD::new_debug_bit ("WavesMIDI");
 DebugBits PBD::DEBUG::WavesAudio = PBD::new_debug_bit ("WavesAudio");
 
@@ -81,7 +83,7 @@ PBD::new_debug_bit (const char* name)
 void
 PBD::debug_print (const char* prefix, string str)
 {
-       cerr << prefix << ": " << str;
+       cout << prefix << ": " << str;
 }
 
 int
@@ -109,13 +111,13 @@ PBD::parse_debug_options (const char* str)
 
                         if (strncasecmp (cstr, i->first, strlen (cstr)) == 0) {
                                bits |= i->second;
-                               cerr << i->first << " set ... debug bits now set to " << bits << " using " << i->second << endl;
+                               cout << i->first << " set ... debug bits now set to " << bits << " using " << i->second << endl;
                         }
                 }
        }
-       
+
        debug_bits = bits;
-       
+
        return 0;
 }
 
@@ -123,7 +125,7 @@ void
 PBD::list_debug_options ()
 {
        cout << _("The following debug options are available. Separate multiple options with commas.\nNames are case-insensitive and can be abbreviated.") << endl << endl;
-       cout << '\t' << X_("all") << endl; 
+       cout << '\t' << X_("all") << endl;
 
        vector<string> options;