wibble  1.1
ostream.h
Go to the documentation of this file.
1 #ifndef WIBBLE_LOG_OSTREAM_H
2 #define WIBBLE_LOG_OSTREAM_H
3 
4 #include <wibble/log/stream.h>
5 #include <ostream>
6 
7 namespace wibble {
8 namespace log {
9 
11 struct OstreamSender : public Sender
12 {
13 protected:
14  std::ostream& out;
15 
16 public:
17  OstreamSender(std::ostream& out);
18  virtual ~OstreamSender() {}
19 
20  virtual void send(Level level, const std::string& msg);
21 };
22 
23 }
24 }
25 
26 // vim:set ts=4 sw=4:
27 #endif