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 |
// |
// |
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 |
{ |
{ |
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; |