X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffile_log.h;h=64e6a25051539b4efb4d1dcb38d2571be04b7446;hp=6904bfd77436def72047217d00dbd9823771ddf2;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hpb=a69d242f3f00207d6ea7320e6723775f4b0dbfb3 diff --git a/src/lib/file_log.h b/src/lib/file_log.h index 6904bfd77..64e6a2505 100644 --- a/src/lib/file_log.h +++ b/src/lib/file_log.h @@ -24,11 +24,13 @@ 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 do_log (std::shared_ptr entry); + /** filename to write to */ boost::filesystem::path _file; };