X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffile_log.h;h=d7667f799ba37cd40e1aecb5c8aa81dd5c09db9f;hb=3fecd33dc2fd14ed487cb14bf9647ee5c0572868;hp=83f3696095cd7d48cf8529c3bbf9c52f2b59e6cf;hpb=b1aae1f32e72cd96768d6134ef62fd4b45a9bd54;p=dcpomatic.git diff --git a/src/lib/file_log.h b/src/lib/file_log.h index 83f369609..d7667f799 100644 --- a/src/lib/file_log.h +++ b/src/lib/file_log.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,20 +18,21 @@ */ + #include "log.h" + class FileLog : public Log { public: explicit FileLog (boost::filesystem::path file); + FileLog (boost::filesystem::path file, int types); std::string head_and_tail (int amount = 1024) const; private: - void do_log (boost::shared_ptr entry); - void config_changed (); + void do_log (std::shared_ptr entry); /** filename to write to */ boost::filesystem::path _file; - boost::signals2::scoped_connection _config_connection; };