Print

Print


Commit in slic/include on MAIN
LogStream.hh+8-81.1 -> 1.2


slic/include
LogStream.hh 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- LogStream.hh	27 Apr 2007 01:54:32 -0000	1.1
+++ LogStream.hh	27 Apr 2007 10:27:53 -0000	1.2
@@ -374,42 +374,42 @@
 
     void log( const std::string& mesg )
     {
-      *this << mesg;
+      log( mesg, getOutputLevel() );
     }
 
     void debug( const std::string& mesg )
     {
-      debug() << mesg;
+      log( mesg, LOG::debug );
     }
 
     void verbose( const std::string& mesg )
     {
-      verbose() << mesg;
+      log( mesg, LOG::verbose );
     }
 
     void okay( const std::string& mesg )
     {
-      okay() << mesg;
+      log( mesg, LOG::okay );
     }
 
     void warning( const std::string& mesg )
     {
-      warning() << mesg;
+      log( mesg, LOG::warning );
     }
 
     void error( const std::string& mesg )
     {
-      error() << mesg;
+      log( mesg, LOG::error );
     }
 
     void fatal( const std::string& mesg )
     {
-      fatal() << mesg;
+      log( mesg, LOG::fatal );
     }
 
     void always( const std::string& mesg )
     {
-      always() << mesg;
+      log( mesg,  LOG::always );
     }
     
   private:
CVSspam 0.2.8