Go to the documentation of this file.00001 #ifndef WIBBLE_LOG_FILE_H
00002 #define WIBBLE_LOG_FILE_H
00003
00004 #include <wibble/log/stream.h>
00005
00006 namespace wibble {
00007 namespace log {
00008
00010 struct FileSender : public Sender
00011 {
00012 protected:
00013 int out;
00014 std::string name;
00015
00016 public:
00017 FileSender(const std::string& filename);
00018 virtual ~FileSender();
00019
00020 virtual void send(Level level, const std::string& msg);
00021 };
00022
00023 }
00024 }
00025
00026
00027 #endif