diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-26 19:45:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-26 19:45:37 +0100 |
| commit | e7e9347cdd1f43e0dd3d1ca35632e9493a010fc6 (patch) | |
| tree | 4ec010d7ccb168cdaae3da236600469862dfdf2c /src/lib/log.h | |
| parent | dd8a7d1bbb8f2afb1b98d2be856ff0a9920e180d (diff) | |
Split log.{cc,h}.
Diffstat (limited to 'src/lib/log.h')
| -rw-r--r-- | src/lib/log.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/lib/log.h b/src/lib/log.h index 73a1aa582..3efed667b 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -68,28 +68,4 @@ private: boost::signals2::scoped_connection _config_connection; }; -class FileLog : public Log -{ -public: - FileLog (boost::filesystem::path file); - - std::string head_and_tail (int amount = 1024) const; - -private: - void do_log (std::string m); - /** filename to write to */ - boost::filesystem::path _file; -}; - -class NullLog : public Log -{ -public: - std::string head_and_tail (int) const { - return ""; - } - -private: - void do_log (std::string) {} -}; - #endif |
