X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffile_log.h;h=613dd0939df990c1e0acc1f699cd4faeb15a9ea6;hp=bd6a7bf6a4e49288d9c6883af1e78c8d440bf9d2;hb=8f12e84009d7c2685bb2eeb32665876463d4e6e5;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05 diff --git a/src/lib/file_log.h b/src/lib/file_log.h index bd6a7bf6a..613dd0939 100644 --- a/src/lib/file_log.h +++ b/src/lib/file_log.h @@ -23,12 +23,14 @@ class FileLog : public Log { public: - FileLog (boost::filesystem::path file); + 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); + /** filename to write to */ boost::filesystem::path _file; };