Browse Source

Added specialized operator<<(bool) in ctkLogStream

Sascha Zelzer 14 years ago
parent
commit
b1a0e877e7
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Libs/PluginFramework/service/log/ctkLogStream.h

+ 6 - 0
Libs/PluginFramework/service/log/ctkLogStream.h

@@ -52,6 +52,12 @@ public:
     return *this;
   }
 
+  ctkLogStream& operator <<(bool b)
+  {
+    ts << (b ? "true" : "false");
+    return *this;
+  }
+
 protected:
 
   QString msg;