/[usata]/usata2/src/log.hpp
ViewVC logotype

Diff of /usata2/src/log.hpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by skunix, Sun Dec 26 08:03:34 2004 UTC revision 1.5 by skunix, Sun Dec 26 09:35:23 2004 UTC
# Line 10  Line 10 
10  // http://www.fsf.org/licenses/gpl.html.  // http://www.fsf.org/licenses/gpl.html.
11  //  //
12  // $Log$  // $Log$
13    // Revision 1.5  2004/12/26 09:35:23  skunix
14    // use logging functionality
15    //
16  // Revision 1.4  2004/12/26 08:03:34  skunix  // Revision 1.4  2004/12/26 08:03:34  skunix
17  // changed lambda::bind's to boost::binds  // changed lambda::bind's to boost::binds
18  //  //
# Line 185  namespace usata Line 188  namespace usata
188                  // Stream manipulators                  // Stream manipulators
189    
190                  struct StreamSetLevel { int level; };                  struct StreamSetLevel { int level; };
191                  struct EndLog{};                  struct CommitT {};
192                    extern CommitT Commit;
193                  inline Stream&                  inline Stream&
194                  operator << (Stream& log, const StreamSetLevel& manip)                  operator << (Stream& log, const StreamSetLevel& manip)
195                  {                  {
# Line 201  namespace usata Line 205  namespace usata
205                  }                  }
206    
207                  inline Stream2&                  inline Stream2&
208                  operator << (Stream2&log, const EndLog&)                  operator << (Stream2&log, const CommitT&)
209                  {                  {
210                          log.commit();                          log.commit();
211                          return log;                          return log;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26