From e7e9347cdd1f43e0dd3d1ca35632e9493a010fc6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 26 Aug 2015 19:45:37 +0100 Subject: Split log.{cc,h}. --- src/lib/log.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/lib/log.h') 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 -- cgit v1.2.3