diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-11-06 18:16:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-11-06 18:16:39 +0000 |
| commit | b7a78dd103fd2f556600bc4510d66a6878cdf59e (patch) | |
| tree | 27cc7915396d0bb8d990be9b658d287849df5e4d /src/lib/log.h | |
| parent | 7125d8ec2217ae874ce452602465f630f674e786 (diff) | |
Make CLI server logging optional.
Diffstat (limited to 'src/lib/log.h')
| -rw-r--r-- | src/lib/log.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/log.h b/src/lib/log.h index 6a911b13f..991532404 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -71,4 +71,12 @@ private: boost::filesystem::path _file; }; +class NullLog : public Log +{ +public: + +private: + void do_log (std::string) {} +}; + #endif |
