projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C++11 tidying.
[dcpomatic.git]
/
src
/
lib
/
file_log.h
diff --git
a/src/lib/file_log.h
b/src/lib/file_log.h
index 6904bfd77436def72047217d00dbd9823771ddf2..d7667f799ba37cd40e1aecb5c8aa81dd5c09db9f 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,21
@@
*/
*/
+
#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;
private:
std::string head_and_tail (int amount = 1024) const;
private:
- void do_log (boost::shared_ptr<const LogEntry> entry);
+ void do_log (std::shared_ptr<const LogEntry> entry);
+
/** filename to write to */
boost::filesystem::path _file;
};
/** filename to write to */
boost::filesystem::path _file;
};