/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#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;
+ std::string head_and_tail (int amount = 1024) const override;
private:
- void do_log (boost::shared_ptr<const LogEntry> entry);
+ void do_log (std::shared_ptr<const LogEntry> entry) override;
+
/** filename to write to */
boost::filesystem::path _file;
};