00001 // ===================================================================== 00020 // ===================================================================== 00021 #ifndef CLDAQ__TOUTPUTSTREAM_HH 00022 #define CLDAQ__TOUTPUTSTREAM_HH 00023 00024 #include <ostream> 00025 class TStringStreamBuffer; 00026 00047 class TOutputStream 00048 : public std::ostream 00049 { 00050 00051 public: 00052 TOutputStream( TStringStreamBuffer* buffer ); 00053 00054 public: 00055 void SetLogLevel( int level ); 00056 int GetLogLevel() const; 00057 00058 #ifdef __CLDAQ_ROOT_DLL 00059 ClassDef(TOutputStream,0) 00060 #endif 00061 00062 }; 00063 00064 #endif