projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic release notes support (#2282).
[dcpomatic.git]
/
src
/
lib
/
file_log.h
diff --git
a/src/lib/file_log.h
b/src/lib/file_log.h
index 53fbe4f765308a391a0cf1c591b323c960f255b8..2795349ce6522dbb39c4804157368b201bfa1c58 100644
(file)
--- a/
src/lib/file_log.h
+++ b/
src/lib/file_log.h
@@
-1,5
+1,5
@@
/*
/*
- 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.
This file is part of DCP-o-matic.
@@
-18,17
+18,20
@@
*/
*/
+
#include "log.h"
#include "log.h"
+
class FileLog : public Log
{
public:
explicit FileLog (boost::filesystem::path file);
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:
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;
/** filename to write to */
boost::filesystem::path _file;