00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef loggingoutputH
00013 #define loggingoutputH
00014
00015 #include <sigc++/sigc++.h>
00016 #include "ascstring.h"
00017 #include <fstream>
00018
00019 class LoggingOutputHandler : public SigC::Object {
00020 ASCString filename;
00021 std::ofstream logfile;
00022 void messageLogger( const ASCString& msg, int level );
00023 static ASCString getFilename( const ASCString& path );
00024 public:
00025 LoggingOutputHandler( const ASCString& path );
00026 };
00027
00028
00029 #endif