class FileLog : public Log
{
public:
- FileLog (boost::filesystem::path file);
+ explicit FileLog (boost::filesystem::path file);
std::string head_and_tail (int amount = 1024) const;
private:
void do_log (boost::shared_ptr<const LogEntry> entry);
+ void config_changed ();
+
/** filename to write to */
boost::filesystem::path _file;
+ boost::signals2::scoped_connection _config_connection;
};